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 /NEWS | |
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 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,8 @@ ver 0.19.11 (not yet released) * tags - ape: fix buffer overflow +* decoder + - ffmpeg: fix crash due to wrong avio_alloc_context() call * encoder - flac: fix crash with 32 bit playback |