Mercurial > mplayer.hg
changeset 30937:f87bfe2885f2
Make audio switching with AVI demuxer chose the first audio stream
if audio is disabled instead of ignoring the request.
author | reimar |
---|---|
date | Wed, 31 Mar 2010 18:45:00 +0000 |
parents | 50b51e6987bd |
children | 304b762b62cb |
files | libmpdemux/demux_avi.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_avi.c Wed Mar 31 17:00:33 2010 +0000 +++ b/libmpdemux/demux_avi.c Wed Mar 31 18:45:00 2010 +0000 @@ -801,7 +801,7 @@ int maxid = FFMIN(100, audio ? MAX_A_STREAMS : MAX_V_STREAMS); int chunkid; if (ds->id < -1) - return DEMUXER_CTRL_NOTIMPL; + ds->id = -1; if (*(int *)arg >= 0) ds->id = *(int *)arg;