fix "incorrect frame size" errors with small.nuv
[ffmpeg.git] / 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->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);
 
                 } else
                     url_fskip(pb, 4 * 4);