ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@gmail.com> | Tue Dec 10 22:59:47 2019 +0100| [c1d300f83a006219b2ffd95648d2438cf8b2a094] | committer: Michael Niedermayer
avformat/apngdec: Don't free extradata manually The extradata will be freed automatically when the corresponding stream gets freed. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c1d300f83a006219b2ffd95648d2438cf8b2a094 --- libavformat/apngdec.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c index b5696e069c..0f1d04a365 100644 --- a/libavformat/apngdec.c +++ b/libavformat/apngdec.c @@ -241,10 +241,6 @@ static int apng_read_header(AVFormatContext *s) } fail: - if (st->codecpar->extradata_size) { - av_freep(&st->codecpar->extradata); - st->codecpar->extradata_size = 0; - } return ret; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".