Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 27517:af91c1e34603
fix compilation with lavc version > r15270
author | gpoirier |
---|---|
date | Mon, 08 Sep 2008 20:01:10 +0000 |
parents | 3364aef9a988 |
children | ab477599c7df |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Mon Sep 08 17:02:32 2008 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Mon Sep 08 20:01:10 2008 +0000 @@ -283,7 +283,7 @@ avctx->width = sh->disp_w; avctx->height= sh->disp_h; avctx->workaround_bugs= lavc_param_workaround_bugs; - avctx->error_resilience= lavc_param_error_resilience; + avctx->error_recognition= lavc_param_error_resilience; if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY; #ifdef CODEC_FLAG2_FAST avctx->flags2|= lavc_param_fast;