diff options
author | wm4 <wm4@nowhere> | 2013-08-04 23:21:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-04 23:21:50 +0200 |
commit | b53497a403d0b1453e35f02a157542f67e0c7374 (patch) | |
tree | 074fce677d8b93e32bf75fa7a69ae38231ec9fe2 /etc/input.conf | |
parent | 56fec5ad3ab4d20dac4ee9ef0ef65e10670b7dff (diff) | |
download | mpv-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 'etc/input.conf')
0 files changed, 0 insertions, 0 deletions