diff mpegts.c @ 4997:54cc10207200 libavformat

initialize pes state to skip
author bcoudurier
date Sun, 31 May 2009 08:47:40 +0000
parents de114ffe75df
children 5540ea103272
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);