mirror of https://git.ffmpeg.org/ffmpeg.git
avdevice/iec61883: free the private context at the end
Fixes part of ticket #7146. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
b8629654c6
commit
5079e96bcc
|
@ -463,6 +463,7 @@ static int iec61883_close(AVFormatContext *context)
|
||||||
} else {
|
} else {
|
||||||
iec61883_dv_fb_stop(dv->iec61883_dv);
|
iec61883_dv_fb_stop(dv->iec61883_dv);
|
||||||
iec61883_dv_fb_close(dv->iec61883_dv);
|
iec61883_dv_fb_close(dv->iec61883_dv);
|
||||||
|
av_freep(&dv->dv_demux);
|
||||||
}
|
}
|
||||||
while (dv->queue_first) {
|
while (dv->queue_first) {
|
||||||
DVPacket *packet = dv->queue_first;
|
DVPacket *packet = dv->queue_first;
|
||||||
|
|
Loading…
Reference in New Issue