[FFmpeg-devel] [PATCH 02/23] avformat/matroskaenc: Fix potential leak of cached packet
Michael Niedermayer
michael at niedermayer.cc
Sun Nov 24 17:03:14 EET 2019
On Wed, Nov 06, 2019 at 03:49:01AM +0100, Andreas Rheinhardt wrote:
> If mkv_write_trailer() is not called, the cached audio packet might
> leak; so unref it in mkv_deinit().
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> When I initially wrote the deinit function, I was under the impression
> that the user always has to call av_write_trailer(). Therefore this has
> been forgotten.
>
> libavformat/matroskaenc.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191124/bb600431/attachment.sig>
More information about the ffmpeg-devel
mailing list