diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-01 19:43:36 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-01 19:43:36 +0000 |
commit | 24f3a0132cfbb96cb03c4b025a7af92a770296fd (patch) | |
tree | 24c7163920e4391808967464527b8a40a4a14c5c /libmpdemux | |
parent | 0af2daec298da852142cc39ba340eb6864a31d09 (diff) | |
download | mpv-24f3a0132cfbb96cb03c4b025a7af92a770296fd.tar.bz2 mpv-24f3a0132cfbb96cb03c4b025a7af92a770296fd.tar.xz |
100l confused FFMIN/FFMAX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21422 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_avi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_avi.c b/libmpdemux/demux_avi.c index 33172dc999..6d241be1a5 100644 --- a/libmpdemux/demux_avi.c +++ b/libmpdemux/demux_avi.c @@ -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; |