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:
parent
e30dd9bbac
commit
77b26bf4b6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user