[FFmpeg-cvslog] avformat/wavdec: Increase dts packet threshold to fix more misdetections

Rodger Combs git at videolan.org
Tue Jun 2 00:50:02 CEST 2015


ffmpeg | branch: release/2.4 | Rodger Combs <rodger.combs at gmail.com> | Sat May 23 14:07:14 2015 +0200| [6d3f0fe24d20cf1453b67d8a01d22fd7444a36ef] | committer: Michael Niedermayer

avformat/wavdec: Increase dts packet threshold to fix more misdetections

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 40a3e1e9c54997e4dfc7802b5a758b68ceb64982)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d3f0fe24d20cf1453b67d8a01d22fd7444a36ef
---

 libavformat/wavdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 763e2e4..66fd766 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -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);
     }
 }
 



More information about the ffmpeg-cvslog mailing list