diff options
author | Max Kellermann <max@duempel.org> | 2010-06-30 23:27:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-06-30 23:41:32 +0200 |
commit | 49bc317fb8b5dad101eb0d995167ce0ccaf9f7fc (patch) | |
tree | 19c7f01c48f594be5b2bf758bd7be338bc6fb21e /src/timer.c | |
parent | 375a09d6f6d09fc132976e1f82647cc56fb33640 (diff) | |
download | mpd-49bc317fb8b5dad101eb0d995167ce0ccaf9f7fc.tar.gz mpd-49bc317fb8b5dad101eb0d995167ce0ccaf9f7fc.tar.xz mpd-49bc317fb8b5dad101eb0d995167ce0ccaf9f7fc.zip |
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.
Diffstat (limited to 'src/timer.c')
0 files changed, 0 insertions, 0 deletions