提交 c1d300f8 编写于 作者: A Andreas Rheinhardt 提交者: Michael Niedermayer

avformat/apngdec: Don't free extradata manually

The extradata will be freed automatically when the corresponding stream
gets freed.
Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 2e328a8a
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册