mirror of https://git.videolan.org/git/ffmpeg.git
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:
parent
a8255aa357
commit
316239096b
|
@ -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…
Reference in New Issue