[MPlayer-cvslog] r21422 - trunk/libmpdemux/demux_avi.c
reimar
subversion at mplayerhq.hu
Fri Dec 1 20:43:36 CET 2006
Author: reimar
Date: Fri Dec 1 20:43:36 2006
New Revision: 21422
Modified:
trunk/libmpdemux/demux_avi.c
Log:
100l confused FFMIN/FFMAX
Modified: trunk/libmpdemux/demux_avi.c
==============================================================================
--- trunk/libmpdemux/demux_avi.c (original)
+++ trunk/libmpdemux/demux_avi.c Fri Dec 1 20:43:36 2006
@@ -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;
More information about the MPlayer-cvslog
mailing list