Re: [FFmpeg-devel] [PATCH] avformat/flvdec: Remove unnecessary initializations

2020-07-31 Thread zhilizhao
Please help review the patch, thanks! > On Jul 26, 2020, at 1:30 PM, Zhao Zhili wrote: > > pre_tag_size is always reset by avio_rb32(). For AVFormatContext > start_time, as the document says, "NEVER set this value directly: > It is deduced from the AVStream values." > --- > fix commit subject >

[FFmpeg-devel] [PATCH] avformat/flvdec: Remove unnecessary initializations

2020-07-25 Thread Zhao Zhili
pre_tag_size is always reset by avio_rb32(). For AVFormatContext start_time, as the document says, "NEVER set this value directly: It is deduced from the AVStream values." --- fix commit subject libavformat/flvdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/