mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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>
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…
x
Reference in New Issue
Block a user