aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-06-30 08:59:31 +0200
committerMax Kellermann <max@duempel.org>2010-07-19 23:03:06 +0200
commite2e8d0d2f35e7ea4d9bc20d92f624bc957fd8060 (patch)
tree1bbba818a2d576c1fcd9e861bb149c71c41b59c4 /src/mixer_api.c
parentb2e3c0757b2507db727d5b722b5043d3f98c7ee5 (diff)
downloadmpd-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/mixer_api.c')
0 files changed, 0 insertions, 0 deletions