set pix_fmt in rv10 patch by (James Stembridge <jstembridge at users dot sourceforge...
authorJames Stembridge <jstembridge@users.sourceforge.net>
Mon, 26 May 2003 21:40:58 +0000 (21:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 26 May 2003 21:40:58 +0000 (21:40 +0000)
Originally committed as revision 1909 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv10.c

index 8244cb5..4b351ea 100644 (file)
@@ -387,6 +387,8 @@ static int rv10_decode_init(AVCodecContext *avctx)
                  rv_chrom_code, 2, 2);
         done = 1;
     }
+    
+    avctx->pix_fmt = PIX_FMT_YUV420P;
 
     return 0;
 }