summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-04 23:21:50 +0200
committerwm4 <wm4@nowhere>2013-08-04 23:21:50 +0200
commitb53497a403d0b1453e35f02a157542f67e0c7374 (patch)
tree074fce677d8b93e32bf75fa7a69ae38231ec9fe2 /audio
parent56fec5ad3ab4d20dac4ee9ef0ef65e10670b7dff (diff)
downloadmpv-b53497a403d0b1453e35f02a157542f67e0c7374.tar.bz2
mpv-b53497a403d0b1453e35f02a157542f67e0c7374.tar.xz
demux_lavf: fix API usage
avio_alloc_context() is documented to require an av_malloc'ed buffer. It appears libavformat can even reallocate the buffer while it is probing, so passing a static buffer can in theory lead to crashes. I couldn't reproduce such a crash, but apparently it happened to mplayer-svn. This commit follows the mplayer fix in svn commit r36397.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions