# HG changeset patch # User arpi # Date 1042401828 0 # Node ID cc9ea49f75098909c2c1775e18af0574e368a137 # Parent 497e3b284a100970887719d2eeb8acc1d94c5307 sanity check diff -r 497e3b284a10 -r cc9ea49f7509 libmpdemux/demux_real.c --- a/libmpdemux/demux_real.c Sun Jan 12 19:55:59 2003 +0000 +++ b/libmpdemux/demux_real.c Sun Jan 12 20:03:48 2003 +0000 @@ -639,6 +639,8 @@ return 1; } +if(stream_id<256){ + if(demuxer->audio->id==-1 && demuxer->a_streams[stream_id]){ sh_audio_t *sh = demuxer->a_streams[stream_id]; demuxer->audio->id=stream_id; @@ -657,6 +659,8 @@ goto got_video; } +} + mp_msg(MSGT_DEMUX,MSGL_DBG2, "unknown stream id (%d)\n", stream_id); stream_skip(demuxer->stream, len); }// goto loop;