diff options
author | Max Kellermann <max@duempel.org> | 2010-06-30 08:59:31 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-07-19 23:03:06 +0200 |
commit | e2e8d0d2f35e7ea4d9bc20d92f624bc957fd8060 (patch) | |
tree | 1bbba818a2d576c1fcd9e861bb149c71c41b59c4 /src/decoder_thread.h | |
parent | b2e3c0757b2507db727d5b722b5043d3f98c7ee5 (diff) | |
download | mpd-e2e8d0d2f35e7ea4d9bc20d92f624bc957fd8060.tar.gz mpd-e2e8d0d2f35e7ea4d9bc20d92f624bc957fd8060.tar.xz mpd-e2e8d0d2f35e7ea4d9bc20d92f624bc957fd8060.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/decoder_thread.h')
0 files changed, 0 insertions, 0 deletions