1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-23 00:06:56 +00:00
mpv/demux
wm4 b53497a403 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.
2013-08-04 23:21:50 +02:00
..
codec_tags.c demux: fix big endian PCM in mkv with demux_mkv 2013-05-11 20:19:08 +02:00
codec_tags.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux_cue.c demux: remove useless author/comment fields 2013-07-12 22:16:27 +02:00
demux_edl.c demux: remove useless author/comment fields 2013-07-12 22:16:27 +02:00
demux_lavf.c demux_lavf: fix API usage 2013-08-04 23:21:50 +02:00
demux_libass.c demux_libass: actually set priv context 2013-07-24 19:47:22 +02:00
demux_mf.c demux: assume correct-pts mode by default 2013-07-12 22:16:27 +02:00
demux_mkv.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
demux_mng.c demux: make claiming accurate seek the default 2013-07-12 22:29:34 +02:00
demux_packet.h demux: workaround for -demuxer mpegts -correct-pts 2013-05-21 22:07:13 +02:00
demux_raw.c demux_raw: uncrustify 2013-07-14 17:55:54 +02:00
demux_subreader.c demux_subreader: make clang happy to fix warning 2013-07-15 21:28:58 +02:00
demux.c core: make --demuxer not affect external subtitles 2013-07-22 15:11:04 +02:00
demux.h options: simplify --correct-pts handling 2013-07-26 02:11:34 +02:00
ebml.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
ebml.h demux_mkv: use a bounded buffer for block data 2013-04-20 23:28:22 +02:00
matroska.h demux_mkv: support dirac in mkv 2013-05-21 22:07:12 +02:00
mf.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
mf.h demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
ms_hdr.h ms_hdr: remove unused definitions 2013-07-10 02:00:47 +02:00
stheader.h vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00