[MPlayer-dev-eng] [PATCH] small encoder segv fix

D Richard Felker III dalias at aerifal.cx
Tue Aug 19 18:46:50 CEST 2003


On Mon, Aug 18, 2003 at 10:33:09PM +0100, Alex Sisson wrote:
> Hi guys,
> 
> if you do mencoder foo.wav -oac somecodec   mencoder
> will segfault.
> so this is just a simple fix for that.

mencoder is a *movie* encoder, so it's not supposed to work with
audio-only files. That would be kinda silly anyway -- putting mp3
audio inside an avi file with no video. If you want to fix this bug,
make mencoder print an error message and quit if there's no video
stream.

Rich



More information about the MPlayer-dev-eng mailing list