mirror of https://github.com/FFmpeg/FFmpeg.git
Because the s->buffer has been freed by av_freep in avio_closep. It should not av_freep the buffer in label fail after avio_closep. Then just move the av_freep before avio_closep and remove the label fail. Reported-by: TOTE Robot <oslab@tsinghua.edu.cn> Reviewed-by: Zhao Zhili <zhilizhao@tencent.com> Signed-off-by: Steven Liu <liuqi05@kuaishou.com>pull/377/head
parent
38e5ca9310
commit
3f46ffe956
1 changed files with 6 additions and 8 deletions
Loading…
Reference in new issue