aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/UpnpDatabasePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-10-26 13:06:29 +0100
committerMax Kellermann <max@duempel.org>2015-10-26 13:06:29 +0100
commit1958f78cc1bd47ce1c9b57db41194f85aed942ab (patch)
treef1fdaf16bf63c7bf81b33966b44ac3bfe1d0b42e /src/db/UpnpDatabasePlugin.cxx
parenta7ee64a25b7ffe0ccd499341916070c7b6d02f7a (diff)
downloadmpd-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