1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-02 12:20:57 +00:00

fix compilation with lavc version > r15270

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27549 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
gpoirier 2008-09-08 20:01:10 +00:00
parent 923f67082e
commit 2bfa730214

View File

@ -283,7 +283,7 @@ static int init(sh_video_t *sh){
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;