[FFmpeg-cvslog] avformat/mov: fix av_freep for dovi pointer
Limin Wang
git at videolan.org
Fri May 1 07:26:13 EEST 2020
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Thu Apr 30 21:19:11 2020 +0800| [1112823962ab2e881359e5d60d706ba322ea8551] | committer: Jun Zhao
avformat/mov: fix av_freep for dovi pointer
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1112823962ab2e881359e5d60d706ba322ea8551
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
More information about the ffmpeg-cvslog
mailing list