# HG changeset patch # User bcoudurier # Date 1243759660 0 # Node ID 54cc10207200b1a349ea10a6874e50b5c8992c23 # Parent 9d88db925e054df637a5aeedec992fbfa27f1e11 initialize pes state to skip diff -r 9d88db925e05 -r 54cc10207200 mpegts.c --- 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);