Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-04 21:57:56 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-04 22:46:30 +0300
commit04e06beb0ab98a6eb85df32f7809b1143e4bebe7 (patch)
tree8fa54b218f1c521dc440cdfab21a81ef401cae2c /libavcodec/h264_metadata_bsf.c
parentd534009f76133f9251676c25567710ee117f3bc8 (diff)
avcodec/h264_metadata_bsf: Fix invalid av_freep
This bug was introduced in 3c8a2a1180f03ca6b299ebc27eef21ae86635ca0. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/h264_metadata_bsf.c')
-rw-r--r--libavcodec/h264_metadata_bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c
index 99017653d0..cef054bd65 100644
--- a/libavcodec/h264_metadata_bsf.c
+++ b/libavcodec/h264_metadata_bsf.c
@@ -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;
}
}