[MPlayer-dev-eng] [PATCH] RFC fix segfault in lavf when filename is missing
Roberto Togni
r_togni at tiscali.it
Mon Apr 26 23:51:34 CEST 2004
Hi all!
Simply try this: mplayer -v http://www.mplayerhq.hu
It happens with every file from the network, as long as no mplayer
demuxer recognize it (it happens tipically with playlists if you forget
-playlist command)
For some reason i ignore (don't know if it's a bug or a feature) in
that case demuxer->stream->url is NULL
lavf doesn't like it and fails
I don't know if it's the intended behaviour for lavf to always require
a filename.
The patch is a workaround to avoid segfault.
If noone have a better solution i'll commit it.
Ciao,
Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demuxer.c.diff
Type: text/x-patch
Size: 731 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040426/38566b0f/attachment.bin>
More information about the MPlayer-dev-eng
mailing list