Mercurial > mplayer.hg
changeset 17810:87dda4e1b8c5
Only MAX_STREAMS streams are allowed (cid 115)
author | rtognimp |
---|---|
date | Sat, 11 Mar 2006 16:42:46 +0000 |
parents | abf69918ec6c |
children | 6fc398692249 |
files | libmpdemux/demux_real.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_real.c Sat Mar 11 15:26:39 2006 +0000 +++ b/libmpdemux/demux_real.c Sat Mar 11 16:42:46 2006 +0000 @@ -1040,7 +1040,7 @@ return 1; } -if(stream_id<256){ +if(stream_id<MAX_STREAMS){ if(demuxer->audio->id==-1 && demuxer->a_streams[stream_id]){ sh_audio_t *sh = demuxer->a_streams[stream_id];