Re: [FFmpeg-devel] [PATCH v3 3/5] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-03-06 Thread zhilizhao(赵志立)
> On Mar 6, 2023, at 20:26, Tomas Härdin wrote: > >> +int ff_mov_get_channel_config_from_layout(const AVChannelLayout >> *layout, int *config) >> +{ >> +// Set default value which means any setup in 23001-8 >> +*config = 0; >> +for (int i = 0; i < FF_ARRAY_ELEMS(iso_channel_configur

Re: [FFmpeg-devel] [PATCH v3 3/5] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-03-06 Thread Tomas Härdin
> +int ff_mov_get_channel_config_from_layout(const AVChannelLayout > *layout, int *config) > +{ > +    // Set default value which means any setup in 23001-8 > +    *config = 0; > +    for (int i = 0; i < FF_ARRAY_ELEMS(iso_channel_configuration); > i++) { > +    if (!av_channel_layout_compare(l

[FFmpeg-devel] [PATCH v3 3/5] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-03-05 Thread Zhao Zhili
From: Zhao Zhili Only support chnl version 0 now. Signed-off-by: Zhao Zhili --- libavformat/mov.c | 85 +++- libavformat/mov_chan.c | 296 + libavformat/mov_chan.h | 26 3 files changed, 406 insertions(+), 1 deletion(-) diff --git a/