mpv/audio
wm4 99cd22af01 audio: fix AVFrame allocation (crash with opus encoding)
AVFrame doesn't have public code for pool allocation, so mpv does it
manually. AVFrame allocation is very tricky, so we added a bug.

This crashed with libopus encoding, but not some other audio codecs,
because the libopus libavcodec wrapper accesses AVFrame.data. Most code
tries to avoid accessing AVFrame.data and uses AVFrame.extended_data,
because using the former would subtly corrupt memory on more than 8
channels. The fact that this problem manifested only now shows that most
AVFrame consuming FFmpeg code indeed uses extended_data for audio.
2020-09-01 21:28:13 +02:00
..
decode options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
filter af_scaletempo2: fix bug where speed was not set 2020-07-27 18:12:05 +02:00
out ao_openal: restore working condition with new push API 2020-08-31 20:24:14 +02:00
aframe.c audio: fix AVFrame allocation (crash with opus encoding) 2020-09-01 21:28:13 +02:00
aframe.h audio: add frame alloc function 2020-05-25 01:54:37 +02:00
chmap.c chmap: remove misleading "downmix" channel layout name 2017-06-24 11:36:10 +02:00
chmap.h
chmap_sel.c
chmap_sel.h
fmt-conversion.c audio: add support for AV_SAMPLE_FMT_S64* 2019-09-27 21:21:34 +02:00
fmt-conversion.h
format.c audio: fix copy&paste error 2019-09-27 21:31:04 +02:00
format.h audio: add support for AV_SAMPLE_FMT_S64* 2019-09-27 21:21:34 +02:00