Files
FFmpeg/libavcodec
Andreas Rheinhardt fdff1b9cbf avcodec/codec_internal: Avoid deprecation warnings for channel_layouts
AVCodec.channel_layouts is deprecated and Clang (unlike GCC)
warns when setting this field in a codec definition.
Fortunately, Clang (unlike GCC) allows to use
FF_DISABLE_DEPRECATION_WARNINGS inside a definition (of an FFCodec),
so that one can create simple macros to set AVCodec.channel_layouts
that also suppress deprecation warnings for Clang.

(Notice that some of the codec definitions were already
inside FF_DISABLE/ENABLE_DEPRECATION_WARNINGS (that were not
guarded by FF_API_OLD_CHANNEL_LAYOUT); these have been removed.
Also notice that setting AVCodec.channel_layouts was not guarded
by FF_API_OLD_CHANNEL_LAYOUT either, so testing disabling it
it without removing all the codeblocks would not have worked.)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-09-28 23:44:28 +02:00
..
2022-09-17 10:32:16 +02:00
2022-09-27 13:19:52 +02:00
2022-08-28 12:56:26 +02:00
2022-02-07 00:31:23 +01:00
2022-09-23 20:26:28 +02:00
2022-08-31 16:25:31 +02:00
2022-03-18 19:56:50 +01:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2022-09-07 00:07:45 +02:00
2022-09-07 00:07:45 +02:00
2022-02-24 12:56:49 +01:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2022-01-26 15:30:28 +01:00
2021-10-09 11:42:16 +02:00
2022-06-25 09:05:58 +08:00
2022-09-16 10:02:19 +02:00
2022-03-15 09:42:43 -03:00
2022-03-15 09:42:43 -03:00
2022-02-18 20:11:06 +01:00
2022-02-18 20:11:06 +01:00
2022-02-07 00:31:23 +01:00
2021-07-22 14:47:57 +02:00
2022-03-16 14:04:35 +02:00
2022-09-22 01:05:59 +02:00
2021-07-22 14:47:57 +02:00
2021-10-10 17:44:41 +02:00
2022-04-10 20:12:23 +02:00
2022-06-25 09:05:58 +08:00
2022-03-15 09:42:45 -03:00
2021-09-12 22:23:35 +02:00
2022-09-07 00:07:45 +02:00
2022-09-17 10:15:01 +02:00