[MPlayer-dev-eng] demux_lavf.c crash
Michael Niedermayer
michaelni at gmx.at
Thu May 13 00:57:07 CEST 2004
Hi
On Tuesday 11 May 2004 22:26, Roberto Togni wrote:
> Hi all.
>
> If you try to play this url in MPlayer (don't use -playlist even if the
> file is a playlist)
> http://on2.com/vp6_samples/wb/harry3-40.tc7
>
> lavf misdetects the file as Westwood Studios audio format, and then
> tries to play it.
> but it fails at line 141 of demux_lavf.c doing strncpy because demuxer-
>
> >stream->url is NULL.
>
> The patch attached is a simple workaround ot avoid sig11, not a final
> solution.
commited similar solution :)
>
> If i play the file from hd, i get av_open_input_stream() failed, but no
> sig11.
>
> Is demux_lavf supposed to handle urls or just local files?
it is supposed to handle both
> Does lavf
> handle file i/o internally or does it get the data from mplayer ?
mplayer, u probably ask now, why does it need the url then? well its because
lavf has a very powerfull input API
currently when lavf demuxes something from mplayer it will actually give the
url back to mplayer (which ignores it) and then reads from mplayer, i suspect
that passing foobar%d.jpg to libavformat would cause lavf to ask for
foobar1.jpg, ... from mplayer
[...]
--
Michael
level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535)
buf[i]= qp - buf[i-1]; (violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
More information about the MPlayer-dev-eng
mailing list