[FFmpeg-devel] [PATCH 2/4] decode: make sure ff_get_buffer() cleans the frame on failure

Michael Niedermayer michael at niedermayer.cc
Mon Apr 6 15:05:53 EEST 2020


On Sun, Apr 05, 2020 at 10:32:39PM +0200, Anton Khirnov wrote:
> Merge ff_get_buffer() and get_buffer_internal() to simplify the code.
> ---
>  libavcodec/decode.c | 37 +++++++++++++++----------------------
>  1 file changed, 15 insertions(+), 22 deletions(-)

LGTM

thx

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

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- 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/20200406/91015a80/attachment.sig>


More information about the ffmpeg-devel mailing list