avformat/wavdec: Increase dts packet threshold to fix more misdetections
authorRodger Combs <rodger.combs@gmail.com>
Sat, 23 May 2015 12:07:14 +0000 (14:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Jun 2015 21:25:19 +0000 (23:25 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 40a3e1e9c54997e4dfc7802b5a758b68ceb64982)

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

index 763e2e4..66fd766 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, 20);
+        st->probe_packets = FFMIN(st->probe_packets, 32);
     }
 }