Re: [FFmpeg-devel] [PATCH] avformat/mov_chan: Use anonymous union

2024-03-25 Thread Henrik Gramner via ffmpeg-devel
On Mon, Mar 25, 2024 at 4:01 PM Andreas Rheinhardt wrote: > > Right, it is an anonymous enum, not union. Amended locally. > > - Andreas Can confirm this eliminates the warnings, lgtm. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.

Re: [FFmpeg-devel] [PATCH] avformat/mov_chan: Use anonymous union

2024-03-25 Thread Andreas Rheinhardt
James Almer: > On 3/25/2024 11:53 AM, Andreas Rheinhardt wrote: >> 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 > > Anonymous union,

Re: [FFmpeg-devel] [PATCH] avformat/mov_chan: Use anonymous union

2024-03-25 Thread James Almer
On 3/25/2024 11:53 AM, Andreas Rheinhardt wrote: 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 Anonymous union, or enum (Re: subject)? S

[FFmpeg-devel] [PATCH] avformat/mov_chan: Use anonymous union

2024-03-25 Thread Andreas Rheinhardt
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 Signed-off-by: Andreas Rheinhardt --- libavformat/mov_chan.c | 2 +- 1 file changed, 1 inserti