summaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2025-03-07 01:19:27 +0100
committerAndreas Rheinhardt <[email protected]>2025-03-10 00:57:23 +0100
commit0971fcf0a0821388c5258f46f73bdfbdeadd1b52 (patch)
tree492901755220c4b71d211b1eeab5412d04d0d89f /doc/APIchanges
parent0349ae3ec4c2d381b0ce163b4195ecbba422a484 (diff)
avcodec/codec_internal, all: Use macros to set deprecated AVCodec fields
The aim of this is twofold: a) Clang warns when setting a deprecated field in a definition and because several of the widely set AVCodec fields are deprecated, one gets several hundred warnings from Clang for an ordinary build. Yet fortunately Clang (unlike GCC) allows to disable deprecation warnings inside a definition, so that one can create simple macros to set these fields that also suppress deprecation warnings for Clang. This has already been done in fdff1b9cbfd8cf5a9810c29efa4baf13a4786742 for AVCodec.channel_layouts. b) Using macros will allow to easily migrate these fields to internal ones. Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'doc/APIchanges')
0 files changed, 0 insertions, 0 deletions