mirror of https://github.com/mpv-player/mpv
100l confused FFMIN/FFMAX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21422 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0af2daec29
commit
24f3a0132c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue