Commit 79f26f8b authored by bcoudurier's avatar bcoudurier

initialize pes state to skip

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19029 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e79069a2
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment