# HG changeset patch # User reimar # Date 1283283557 0 # Node ID 7eaaed7331f3ba3bac5fd20972220264ef1381e5 # Parent 2b390c08ed079695d51426204a4a3bae8d008923 Set coded_width/coded_height instead of width/height since that's how it is supposed to be done. diff -r 2b390c08ed07 -r 7eaaed7331f3 libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Mon Aug 30 23:24:56 2010 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Tue Aug 31 19:39:17 2010 +0000 @@ -313,8 +313,8 @@ avctx->flags|= lavc_param_bitexact; - avctx->width = sh->disp_w; - avctx->height= sh->disp_h; + avctx->coded_width = sh->disp_w; + avctx->coded_height= sh->disp_h; avctx->workaround_bugs= lavc_param_workaround_bugs; avctx->error_recognition= lavc_param_error_resilience; if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY;