Commit 5b83843f authored by Alex Beregszaszi's avatar Alex Beregszaszi

fix compilation with assert

Originally committed as revision 9619 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d3ea5692
......@@ -538,7 +538,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
case STREAM_TYPE_AUDIO_DTS:
case STREAM_TYPE_SUBTITLE_DVB:
if(ts->pids[pid]){
assert(ts->pids[pid].type == MPEGTS_PES);
assert(ts->pids[pid]->type == MPEGTS_PES);
pes= ts->pids[pid]->u.pes_filter.opaque;
st= pes->st;
}else{
......
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