fix "incorrect frame size" errors with small.nuv
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 27 May 2007 08:06:45 +0000 (08:06 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 27 May 2007 08:06:45 +0000 (08:06 +0000)
Originally committed as revision 9133 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/nuv.c

index cd5ece7..70d4d48 100644 (file)
@@ -95,6 +95,7 @@ static int get_codec_data(ByteIOContext *pb, AVStream *vst,
                     ast->codec->codec_id =
                         wav_codec_get_id(ast->codec->codec_tag,
                                          ast->codec->bits_per_sample);
+                    ast->need_parsing = AVSTREAM_PARSE_FULL;
                 } else
                     url_fskip(pb, 4 * 4);