Mercurial > mplayer.hg
changeset 6736:eccd31a0584f
10l
author | michael |
---|---|
date | Mon, 15 Jul 2002 00:30:50 +0000 |
parents | 847781af99a4 |
children | 39619804c8b6 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sun Jul 14 21:57:03 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Mon Jul 15 00:30:50 2002 +0000 @@ -115,9 +115,11 @@ if(vd_use_slices && lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) ctx->do_slices=1; +#if LIBAVCODEC_BUILD > 4615 if(lavc_codec->capabilities&CODEC_CAP_DR1) ctx->do_dr1=1; - +#endif + ctx->avctx = malloc(sizeof(AVCodecContext)); memset(ctx->avctx, 0, sizeof(AVCodecContext)); avctx = ctx->avctx;