avformat/mov_chan: Use anonymous enum

Fixes many -Wenum-conversion warnings with Clang caused by
e6c2c87037.
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>
This commit is contained in:
Andreas Rheinhardt 2024-03-25 15:50:54 +01:00
parent a8255aa357
commit 316239096b
1 changed files with 1 additions and 1 deletions

View File

@ -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,