[FFmpeg-cvslog] avformat/dvdvideodec: Only free allocated buffers
Andreas Rheinhardt
git at videolan.org
Sun Mar 3 10:26:12 EET 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Mar 2 16:40:18 2024 +0100| [77b26bf4b63b186cf1ea040d1a0ffa593b6ae700] | committer: Andreas Rheinhardt
avformat/dvdvideodec: Only free allocated buffers
Reviewed-by: Marth64 <marth64 at proxyid.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=77b26bf4b63b186cf1ea040d1a0ffa593b6ae700
---
libavformat/dvdvideodec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c
index ef2d4e6df4..f2f23affb2 100644
--- a/libavformat/dvdvideodec.c
+++ b/libavformat/dvdvideodec.c
@@ -1202,7 +1202,6 @@ static void dvdvideo_subdemux_close(AVFormatContext *s)
DVDVideoDemuxContext *c = s->priv_data;
av_freep(&c->mpeg_pb.pub.buffer);
- av_freep(&c->mpeg_pb);
avformat_close_input(&c->mpeg_ctx);
}
More information about the ffmpeg-cvslog
mailing list