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>
release/7.0
Andreas Rheinhardt 8 months ago
parent a8255aa357
commit 316239096b
  1. 2
      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,

Loading…
Cancel
Save