comparison 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
comparison
equal deleted inserted replaced
27516:3364aef9a988 27517:af91c1e34603
281 avctx->flags|= lavc_param_bitexact; 281 avctx->flags|= lavc_param_bitexact;
282 282
283 avctx->width = sh->disp_w; 283 avctx->width = sh->disp_w;
284 avctx->height= sh->disp_h; 284 avctx->height= sh->disp_h;
285 avctx->workaround_bugs= lavc_param_workaround_bugs; 285 avctx->workaround_bugs= lavc_param_workaround_bugs;
286 avctx->error_resilience= lavc_param_error_resilience; 286 avctx->error_recognition= lavc_param_error_resilience;
287 if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY; 287 if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY;
288 #ifdef CODEC_FLAG2_FAST 288 #ifdef CODEC_FLAG2_FAST
289 avctx->flags2|= lavc_param_fast; 289 avctx->flags2|= lavc_param_fast;
290 #endif 290 #endif
291 avctx->codec_tag= sh->format; 291 avctx->codec_tag= sh->format;