Mercurial > libavformat.hg
changeset 2247:6831f12fbf76 libavformat
fix compilation with assert
author | alex |
---|---|
date | Fri, 13 Jul 2007 00:49:40 +0000 |
parents | 6dade35dc9b3 |
children | a1c952cdac80 |
files | mpegts.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegts.c Thu Jul 12 21:12:33 2007 +0000 +++ b/mpegts.c Fri Jul 13 00:49:40 2007 +0000 @@ -538,7 +538,7 @@ 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{