100l confused FFMIN/FFMAX

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21422 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-12-01 19:43:36 +00:00
parent 0af2daec29
commit 24f3a0132c
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ static int demux_avi_control(demuxer_t *demuxer,int cmd, void *arg){
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;