• Max Kellermann's avatar
    decoder/ffmpeg: fix libavformat 0.6 by using av_open_input_stream() · e2e8d0d2
    Max Kellermann authored
    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.
    e2e8d0d2
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...