avformat/wavdec: enlarge probe_packets for wav
authorcsheng <csheng@marvell.com>
Fri, 11 Apr 2014 07:33:50 +0000 (03:33 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 19 Apr 2014 01:54:10 +0000 (03:54 +0200)
fix issue https://trac.ffmpeg.org/ticket/3550

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/wavdec.c

index daea64e..a865b76 100644 (file)
@@ -114,7 +114,7 @@ static void handle_stream_probing(AVStream *st)
 {
     if (st->codec->codec_id == AV_CODEC_ID_PCM_S16LE) {
         st->request_probe = AVPROBE_SCORE_EXTENSION;
-        st->probe_packets = FFMIN(st->probe_packets, 4);
+        st->probe_packets = FFMIN(st->probe_packets, 14);
     }
 }