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