You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/dvdvideodec: Only free allocated buffers
Reviewed-by: Marth64 <marth64@proxyid.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user