[FFmpeg-devel] [PATCH v2 7/8] avformat/movenc: write ChannelLayout box for PCM

Tomas Härdin git at haerdin.se
Mon Feb 27 15:36:58 EET 2023


lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili:
> 
> +static int mov_write_chnl_tag(AVFormatContext *s, AVIOContext *pb,
> MOVTrack *track)
> +{
> +    int64_t pos = avio_tell(pb);
> +    int config = 0;
> +    int ret;
> +    uint8_t *speaker_pos = NULL;

Could also be allocated on the stack

/Tomas



More information about the ffmpeg-devel mailing list