changeset 31954:7eaaed7331f3

Set coded_width/coded_height instead of width/height since that's how it is supposed to be done.
author reimar
date Tue, 31 Aug 2010 19:39:17 +0000
parents 2b390c08ed07
children 5c2b199e78d5
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;