[MPlayer-dev-eng] [PATCH] set is_streamed correctly in lavf URLContext
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Dec 15 17:33:05 CET 2007
Hello,
On Sat, Dec 15, 2007 at 04:30:10PM +0100, Reimar Döffinger wrote:
> I know it looks a bit hackish by modifying the file name.
> A different way I just realized is of course having two different
> protocols (only differing in the open function I guess).
> Any opinions or better suggestions?
Actually this seems much better to me, it gets rid of the whole
URLProtocol mess.
The only problem is, it leaks memory since I could not find a function
to just free the AVFormatContext, the currently used function can not
be used since it wants to use url_fclose, which is only valid for
URLProtocol stuff (I sent a mail about this to ffmpeg-dev)...
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list