[MPlayer-dev-eng] [PATCH] playing url and then file
Aurelien Jacobs
aurel at gnuage.org
Thu Jun 10 01:11:56 CEST 2004
Hi,
I've juste found a small bug.
When doing something like :
mplayer file.avi http://62.80.117.215:10000
all goes well.
But when doing this :
mplayer http://62.80.117.215:10000 file.avi
the http stream is read well and then MPlayer crash.
This is because the url struct in open.c is freed after use
but the pointer is not reseted to NULL, so for the file
following the http stream, MPlayer still try to access the
freed memory.
Here is the trivial patch.
Aurelien
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer-url-fix.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040610/0a15f356/attachment.asc>
More information about the MPlayer-dev-eng
mailing list