gstreamer/ext/libav
Sebastian Dröge dcea8baa14 avcodecmap: Don't try converting channel layouts with more than 64 channels
We only support up to 64 channels in GStreamer with a specific layout so
it's safe to assume a NONE layout in this case.

Also the arrays of channel positions are allocated everywhere with 64
elements so don't try setting more than 64 to NONE as that will cause
stack corruptions and similar memory safety issues.

Thanks to Natalie Silvanovich for reporting this issue.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-libav/-/issues/92

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/120>
2021-03-15 18:56:06 +02:00
..
gstav.c gstav: Use libavcodec util function for version check 2019-04-29 16:02:05 +00:00
gstav.h libav: Fix symbol redefine build error 2018-07-19 12:21:01 +01:00
gstavauddec.c avauddec: Drain decoder on decoding failure 2020-12-29 16:27:30 +00:00
gstavauddec.h avauddec: fix decoding of APE and Cook audio 2019-03-04 11:54:15 +00:00
gstavaudenc.c avaudenc/avvidenc: Reopen encoding session if it's required 2020-10-06 19:21:36 +09:00
gstavaudenc.h avaudenc/avvidenc: Reopen encoding session if it's required 2020-10-06 19:21:36 +09:00
gstavcfg.c gstavcfg.c: fix max->min typo in limits and implict double conversion 2020-08-04 18:56:45 +03:00
gstavcfg.h avaudenc: install options generically 2018-07-13 00:53:27 +02:00
gstavcodecmap.c avcodecmap: Don't try converting channel layouts with more than 64 channels 2021-03-15 18:56:06 +02:00
gstavcodecmap.h avcodecmap: Remove unused GstFFMpegCompliance type 2020-05-31 10:03:17 +03:00
gstavdeinterlace.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:43:02 +02:00
gstavdemux.c avdemux: update the context we use to determine stream's caps 2020-05-27 16:34:10 +02:00
gstavmux.c avmux: zero-initialize packets 2020-06-20 00:36:48 +00:00
gstavprotocol.c avprotocol: fix leak in error code paths 2018-01-13 11:54:25 +00:00
gstavprotocol.h avprotocol: Don't use GST_LOG_OBJECT() and friends on an arbitrary struct that is not a GObject 2016-12-02 14:19:46 +02:00
gstavutils.c Remove all uses of AVPicture 2018-07-13 00:53:26 +02:00
gstavutils.h avaudenc/avvidenc: Reopen encoding session if it's required 2020-10-06 19:21:36 +09:00
gstavviddec.c avviddec: take the maximum of the height/coded_height 2021-02-17 03:41:28 +00:00
gstavviddec.h gstlibav: minor fixes for header files 2020-05-09 19:09:41 +00:00
gstavvidenc.c avaudenc/avvidenc: Reopen encoding session if it's required 2020-10-06 19:21:36 +09:00
gstavvidenc.h avaudenc/avvidenc: Reopen encoding session if it's required 2020-10-06 19:21:36 +09:00
meson.build docs: Port to hotdoc 2019-05-13 17:00:00 -04:00