From 49bc317fb8b5dad101eb0d995167ce0ccaf9f7fc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jun 2010 23:27:45 +0200 Subject: decoder/ffmpeg: fix libavformat 0.6 by using av_open_input_stream() libavformat 0.6 does not pass the original URI pointer to the "open" method, which leads to a crash because MPD was using a dirty hack to pass a pointer to that method. This patch switches to av_open_input_stream() with a custom ByteIOContext class, instead of doing the URI string hack with av_open_input_file(). Loosely based on a patch from Jasper St. Pierre. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3ae9fc7f3..a68abb0ed 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ ver 0.15.11 (2010/??/??) - ffmpeg: fix memory leak - ffmpeg: free AVFormatContext on error - ffmpeg: read more metadata + - ffmpeg: fix libavformat 0.6 by using av_open_input_stream() * playlist: emit IDLE_OPTIONS when resetting single mode * listen: make get_remote_uid() work on BSD -- cgit v1.2.3