[SCM] libav/experimental: initialize pes state to skip

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:46:59 UTC 2013


The following commit has been merged in the experimental branch:
commit 4a01b3c714fed6475e70084f2b59e0f061a827c5
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Sun May 31 08:47:40 2009 +0000

    initialize pes state to skip
    
    Originally committed as revision 19029 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index e78510f..6df828c 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -1031,6 +1031,7 @@ static PESContext *add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid, int s
     pes->pid = pid;
     pes->pcr_pid = pcr_pid;
     pes->stream_type = stream_type;
+    pes->state = MPEGTS_SKIP;
     tss = mpegts_open_pes_filter(ts, pid, mpegts_push_data, pes);
     if (!tss) {
         av_free(pes);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list