diff options
author | Max Kellermann <max@duempel.org> | 2015-10-26 13:06:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-10-26 13:06:29 +0100 |
commit | 1958f78cc1bd47ce1c9b57db41194f85aed942ab (patch) | |
tree | f1fdaf16bf63c7bf81b33966b44ac3bfe1d0b42e /src/archive/iso_plugin.c | |
parent | a7ee64a25b7ffe0ccd499341916070c7b6d02f7a (diff) | |
download | mpd-1958f78cc1bd47ce1c9b57db41194f85aed942ab.tar.gz mpd-1958f78cc1bd47ce1c9b57db41194f85aed942ab.tar.xz mpd-1958f78cc1bd47ce1c9b57db41194f85aed942ab.zip |
decoder/ffmpeg: fix crash due to wrong avio_alloc_context() call
Allocate the buffer dynamically using av_malloc(), and free
AVIOContext.buffer in the destructor, as mandated by the libavformat
documentation.
Fixes http://bugs.musicpd.org/view.php?id=4446
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions