avformat/wavdec: Increase probe_packets limit
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 23 May 2015 10:03:38 +0000 (12:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 23 May 2015 10:07:23 +0000 (12:07 +0200)
Fixes DTS detection of b2429e5ba9.dts

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

index befc664..ce86d83 100644 (file)
@@ -119,7 +119,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, 14);
+        st->probe_packets = FFMIN(st->probe_packets, 20);
     }
 }