Ticket #3550: 0001-avformat-wavdec-enlarge-probe_packets-for-wav.patch

File 0001-avformat-wavdec-enlarge-probe_packets-for-wav.patch, 798 bytes (added by adam_csheng, 12 years ago)

the fix patch by myself

  • libavformat/wavdec.c

    From 9f705f570e69622299f772bdac1ab9aa756cfb33 Mon Sep 17 00:00:00 2001
    From: csheng <csheng@marvell.com>
    Date: Fri, 11 Apr 2014 03:33:50 -0400
    Subject: [PATCH] avformat/wavdec: enlarge probe_packets for wav
    
    fix issue https://trac.ffmpeg.org/ticket/3550
    ---
     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 b static void handle_stream_probing(AVStream *st)  
    114114{
    115115    if (st->codec->codec_id == AV_CODEC_ID_PCM_S16LE) {
    116116        st->request_probe = AVPROBE_SCORE_EXTENSION;
    117         st->probe_packets = FFMIN(st->probe_packets, 4);
     117        st->probe_packets = FFMIN(st->probe_packets, 14);
    118118    }
    119119}
    120120