aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-31 08:47:40 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-31 08:47:40 +0000
commit4a01b3c714fed6475e70084f2b59e0f061a827c5 (patch)
treed02d5ab5882b40d1c18b3d0778dc2e17dd697b18
parent32b3ab9b60f05c1c1e82022e9f57a21a0e3e1ec4 (diff)
downloadffmpeg-4a01b3c714fed6475e70084f2b59e0f061a827c5.tar.gz
initialize pes state to skip
Originally committed as revision 19029 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mpegts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index e78510f203..6df828c363 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);