[FFmpeg-devel] [PATCH 01/10] avformat/mpjpegdec: Avoid allocation of AVIOContext

Michael Niedermayer michael at niedermayer.cc
Sun Oct 6 20:53:14 EEST 2019


On Sun, Oct 06, 2019 at 07:01:11AM +0200, Andreas Rheinhardt wrote:
> Put an AVIOContext whose lifetime doesn't extend beyond the function where
> it is allocated on the stack instead of allocating and freeing it.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/mpjpegdec.c | 10 +++-------
>  1 file changed, 3 insertions(+), 7 deletions(-)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191006/11f7ed5e/attachment.sig>


More information about the ffmpeg-devel mailing list