changeset 4997:54cc10207200 libavformat

initialize pes state to skip
author bcoudurier
date Sun, 31 May 2009 08:47:40 +0000
parents 9d88db925e05
children 5540ea103272
files mpegts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegts.c	Sun May 31 05:24:16 2009 +0000
+++ b/mpegts.c	Sun May 31 08:47:40 2009 +0000
@@ -1031,6 +1031,7 @@
     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);