diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-25 15:50:54 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-25 17:40:19 +0100 |
commit | 316239096b15ed193056aada1555e84cce402b3a (patch) | |
tree | aa04e1dfdf72f799ddd9cbfee404fa1169b7c73f | |
parent | a8255aa357fd8944ddc1393b12247201b6ecb5fe (diff) | |
download | ffmpeg-316239096b15ed193056aada1555e84cce402b3a.tar.gz |
avformat/mov_chan: Use anonymous enum
Fixes many -Wenum-conversion warnings with Clang caused by
e6c2c8703732bc46395c65c530038c8146df0deb.
See e.g.
https://fate.ffmpeg.org/log.cgi?time=20240325033545&slot=aarch64-linux-clang-10&log=compile
Reviewed-by: Henrik Gramner <henrik@gramner.com>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavformat/mov_chan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov_chan.c b/libavformat/mov_chan.c index d5225acddf..287059d65b 100644 --- a/libavformat/mov_chan.c +++ b/libavformat/mov_chan.c @@ -30,7 +30,7 @@ #include "libavcodec/codec_id.h" #include "mov_chan.h" -enum ShortChannelName { +enum { c_L = AV_CHAN_FRONT_LEFT, c_R = AV_CHAN_FRONT_RIGHT, c_C = AV_CHAN_FRONT_CENTER, |