[FFmpeg-devel] [PATCH 3/5] avformat/mov: fix av_freep for dovi pointer
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Thu Apr 30 15:59:12 EEST 2020
From: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 3d6fef685d..03c8801402 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_freep(&dovi);
return ret;
}
--
2.21.0
More information about the ffmpeg-devel
mailing list