[FFmpeg-devel] [PATCH 5/6] avformat/movenc: write ChannelLayout box for PCM

Tomas Härdin git at haerdin.se
Fri Feb 24 11:42:10 EET 2023


fre 2023-02-24 klockan 20:25 +0800 skrev Zhao Zhili:
> +static int mov_write_chnl_tag(AVFormatContext *s, AVIOContext *pb,
> MOVTrack *track)
> +{
> +    int64_t pos = avio_tell(pb);
> +    int layout = 0;
> +    int ret;
> +    uint8_t speaker_pos[64] = { };

Magic 64 here too

The rest looks OK

/Tomas



More information about the ffmpeg-devel mailing list