[FFmpeg-devel] [PATCH 1/2] avformat/mov: fix frag_index.current out of sync

"zhilizhao(赵志立)" quinkblack at foxmail.com
Tue Aug 16 06:34:43 EEST 2022



> On Aug 11, 2022, at 3:56 PM, Steven Liu <lingjiujianke at gmail.com> wrote:
> 
> "zhilizhao(赵志立)" <quinkblack at foxmail.com> 于2022年8月11日周四 15:07写道:
>> 
>> 
>> 
>>> On Jul 31, 2022, at 1:14 AM, Zhao Zhili <quinkblack at foxmail.com> wrote:
>>> 
>>> From: Zhao Zhili <zhilizhao at tencent.com>
>>> 
>>> frag_index.current is used by cenc_filter, and is updated inside
>>> mov_read_moof. It can out of sync regarding to mov_read_packet.
>>> 
>>> Partly fix ticket #9807.
>>> ---
>>> libavformat/mov.c | 27 ++++++++++++++++++++++++++-
>>> 1 file changed, 26 insertions(+), 1 deletion(-)
>>> 
>>> diff --git a/libavformat/mov.c b/libavformat/mov.c
>>> index a09a762d91..ce12a9e4f1 100644
>>> --- a/libavformat/mov.c
>>> +++ b/libavformat/mov.c
>>> @@ -7095,6 +7095,31 @@ static int cenc_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryptionInfo *s
>>>    }
>>> }
>> 
>> 
>> Ping for review.
>> 
> looks ok to me.
> 

Thanks, applied as 98dcdd18 and 1af7797d212.


More information about the ffmpeg-devel mailing list