Re: [FFmpeg-devel] [PATCH] avformat/mov: fix missing extra data updating

2022-04-25 Thread zhilizhao(赵志立)
> On Mar 30, 2022, at 2:04 AM, Zhao Zhili wrote: > > The stsc_index is checked and updated for the next sample. If the > next sample needs to update stsd_index and stsc_index, then only > stsc_index is updated, which leads to a missing > AV_PKT_DATA_NEW_EXTRADATA. For example, the sample in th

[FFmpeg-devel] [PATCH] avformat/mov: fix missing extra data updating

2022-03-29 Thread Zhao Zhili
The stsc_index is checked and updated for the next sample. If the next sample needs to update stsd_index and stsc_index, then only stsc_index is updated, which leads to a missing AV_PKT_DATA_NEW_EXTRADATA. For example, the sample in the second chunk needs to update both. entry[0] first_chunk =