]> git.sesse.net Git - vlc/commitdiff
Revert "avcodec: initialize fmt_in.video.i_aspect to 0"
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 6 Oct 2009 21:26:25 +0000 (00:26 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 6 Oct 2009 21:26:25 +0000 (00:26 +0300)
this seems to break ar-changes alltogether, lets try again
This reverts commit 9810e995c431a150894fb2fa164dd66635e9cc8f.

modules/codec/avcodec/video.c

index 8152771b80aa4e55848d61db120a9aa5db37d920..13b0dbafff6f977bc5491913d37731c5cc0b3df0 100644 (file)
@@ -335,7 +335,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
 
     /* Set output properties */
     p_dec->fmt_out.i_cat = VIDEO_ES;
-    p_dec->fmt_in.video.i_aspect = 0;
     if( GetVlcChroma( &p_dec->fmt_out.video, p_context->pix_fmt ) != VLC_SUCCESS )
     {
         /* we are doomed. but not really, because most codecs set their pix_fmt later on */