[Mplayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.88,1.89

Arpi arpi at thot.banki.hu
Mon Jan 6 22:46:56 CET 2003


Hi,

> Fix segmentation fault when choose non-existant stream with -{a,v}vid.
> 10l :-)

hmm.

this commit reversed, i'll commit proper fix soon

>  	sh_audio_t* sh=demuxer->a_streams[demuxer->audio->id];
> +	if (!sh)
> +	    return -1;
>  	demuxer->audio->sh=sh; sh->ds=demuxer->audio;

we should't fail the whole demuxer if -aid or -vid is wrong


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-cvslog mailing list