aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-23 12:03:38 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-20 04:43:39 +0200
commit4db46cf5208f47ed5a055b2bddcfca3a74afd16f (patch)
treeac05ee8972ef60db20e376bbf0b7036387d583af
parentcb921dd47f748542561e18e9daf6c0de1afa553f (diff)
downloadffmpeg-4db46cf5208f47ed5a055b2bddcfca3a74afd16f.tar.gz
avformat/wavdec: Increase probe_packets limit
Fixes DTS detection of b2429e5ba9.dts Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 9f5769437aaab30a359cde254f39d9a28b1ce657) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/wavdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 410c2ec1f9..77d7062167 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -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);
}
}