Jan Engelhardt
ed05bfc5e6
- Update to version 4.4.1: * Stable bug fix release, mainly codecs and format fixes. - Refresh patches with quilt. - Drop patches fixed upstream: * ffmpeg-CVE-2021-33815.patch * ffmpeg-CVE-2021-38114.patch * ffmpeg-CVE-2021-38171.patch * ffmpeg-CVE-2020-22037.patch OBS-URL: https://build.opensuse.org/request/show/928002 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=171
27 lines
772 B
Diff
27 lines
772 B
Diff
From 097c917c147661f5378dae8fe3f7e46f43236426 Mon Sep 17 00:00:00 2001
|
|
From: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
|
|
Date: Thu, 17 Oct 2019 11:11:55 +0200
|
|
Subject: [PATCH] avcodec/ac3enc: Fix memleak
|
|
|
|
Fixes ticket #8294.
|
|
|
|
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
|
|
---
|
|
libavcodec/ac3enc.c | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
Index: ffmpeg-4.4.1/libavcodec/ac3enc.c
|
|
===================================================================
|
|
--- ffmpeg-4.4.1.orig/libavcodec/ac3enc.c
|
|
+++ ffmpeg-4.4.1/libavcodec/ac3enc.c
|
|
@@ -2148,7 +2148,8 @@ av_cold int ff_ac3_encode_close(AVCodecC
|
|
av_freep(&block->cpl_coord_mant);
|
|
}
|
|
|
|
- s->mdct_end(s);
|
|
+ if (s->mdct_end)
|
|
+ s->mdct_end(s);
|
|
|
|
return 0;
|
|
}
|