提交 26b45096 编写于 作者: A Andreas Rheinhardt

libavcodec/libvpxenc: Don't free user-provided AVPacket

Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
上级 7e6941e1
......@@ -1148,7 +1148,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
cx_frame->sz_alpha + 8);
if(!side_data) {
av_packet_unref(pkt);
av_free(pkt);
return AVERROR(ENOMEM);
}
AV_WB64(side_data, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册