From a0dd3c0039e239095a3f2585d4d47fec7e20b1dc Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sat, 21 Mar 2009 23:29:34 +0000 Subject: [PATCH] reset codec width/height for h264 forcing decoder to parse extradata Originally committed as revision 18134 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 4621fc8a29..d0dbef62af 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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