提交 04e06beb 编写于 作者: A Andreas Rheinhardt

avcodec/h264_metadata_bsf: Fix invalid av_freep

This bug was introduced in 3c8a2a11.
Reviewed-by: NJames Almer <jamrial@gmail.com>
Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
上级 d534009f
......@@ -528,7 +528,7 @@ static int h264_metadata_filter(AVBSFContext *bsf, AVPacket *pkt)
if (err < 0) {
av_log(bsf, AV_LOG_ERROR, "Failed to attach extracted "
"displaymatrix side data to packet.\n");
av_freep(matrix);
av_free(matrix);
goto fail;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册