reset codec width/height for h264 forcing decoder to parse extradata
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sat, 21 Mar 2009 23:29:34 +0000 (23:29 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sat, 21 Mar 2009 23:29:34 +0000 (23:29 +0000)
Originally committed as revision 18134 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mov.c

index 4621fc8..d0dbef6 100644 (file)
@@ -1440,6 +1440,9 @@ static int mov_read_trak(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
 #if CONFIG_H263_DECODER
     case CODEC_ID_H263:
 #endif
+#if CONFIG_H264_DECODER
+    case CODEC_ID_H264:
+#endif
 #if CONFIG_MPEG4_DECODER
     case CODEC_ID_MPEG4:
 #endif