summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-04-30 21:19:11 +0800
committerJun Zhao <barryjzhao@tencent.com>2020-05-01 12:21:51 +0800
commit1112823962ab2e881359e5d60d706ba322ea8551 (patch)
tree820d52df7f3b9bd4b27daf8820582e8a4d182089 /libavformat/mov.c
parent4fd0559b77cfdd38d37a94a45cc830d90454194e (diff)
avformat/mov: fix av_freep for dovi pointer
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 3d6fef685d..ad718cdaa2 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -6827,7 +6827,7 @@ static int mov_read_dvcc_dvvc(MOVContext *c, AVIOContext *pb, MOVAtom atom)
ret = av_stream_add_side_data(st, AV_PKT_DATA_DOVI_CONF,
(uint8_t *)dovi, dovi_size);
if (ret < 0) {
- av_freep(dovi);
+ av_free(dovi);
return ret;
}