Skip to content
Snippets Groups Projects
Commit 4a01b3c7 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

initialize pes state to skip

Originally committed as revision 19029 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 32b3ab9b
No related branches found
No related tags found
No related merge requests found
...@@ -1031,6 +1031,7 @@ static PESContext *add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid, int s ...@@ -1031,6 +1031,7 @@ static PESContext *add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid, int s
pes->pid = pid; pes->pid = pid;
pes->pcr_pid = pcr_pid; pes->pcr_pid = pcr_pid;
pes->stream_type = stream_type; pes->stream_type = stream_type;
pes->state = MPEGTS_SKIP;
tss = mpegts_open_pes_filter(ts, pid, mpegts_push_data, pes); tss = mpegts_open_pes_filter(ts, pid, mpegts_push_data, pes);
if (!tss) { if (!tss) {
av_free(pes); av_free(pes);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment