[FFmpeg-cvslog] avformat/wavdec: enlarge probe_packets for wav

csheng git at videolan.org
Sat Apr 19 04:23:57 CEST 2014


ffmpeg | branch: master | csheng <csheng at marvell.com> | Fri Apr 11 03:33:50 2014 -0400| [549bbdfb4ba44ef69841a7b6f7a9785a2d670299] | committer: Michael Niedermayer

avformat/wavdec: enlarge probe_packets for wav

fix issue https://trac.ffmpeg.org/ticket/3550

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

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

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

diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index daea64e..a865b76 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, 4);
+        st->probe_packets = FFMIN(st->probe_packets, 14);
     }
 }
 



More information about the ffmpeg-cvslog mailing list