Mercurial > mplayer.hg
changeset 21406:3acff79cdd9f
100l confused FFMIN/FFMAX
author | reimar |
---|---|
date | Fri, 01 Dec 2006 19:43:36 +0000 |
parents | a120cda87e3e |
children | 0f38d7413770 |
files | libmpdemux/demux_avi.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_avi.c Fri Dec 01 19:24:42 2006 +0000 +++ b/libmpdemux/demux_avi.c Fri Dec 01 19:43:36 2006 +0000 @@ -767,7 +767,7 @@ int audio = (cmd == DEMUXER_CTRL_SWITCH_AUDIO); demux_stream_t *ds = audio ? demuxer->audio : demuxer->video; void **streams = audio ? demuxer->a_streams : demuxer->v_streams; - int maxid = FFMAX(99, audio ? MAX_A_STREAMS : MAX_V_STREAMS); + int maxid = FFMIN(100, audio ? MAX_A_STREAMS : MAX_V_STREAMS); int chunkid; if (ds->id < -1) return DEMUXER_CTRL_NOTIMPL;