]> git.sesse.net Git - ffmpeg/commit
decode: make sure ff_get_buffer() cleans the frame on failure
authorAnton Khirnov <anton@khirnov.net>
Sun, 5 Apr 2020 08:48:33 +0000 (10:48 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 10 Apr 2020 11:52:06 +0000 (13:52 +0200)
commita1133db30ef07896afd96f067e5c51531a4e85ab
tree13d80fd5b8d42685feedc9f7663f47f624965dd9
parente923a35988151842083ae7f8230ae2a40149982c
decode: make sure ff_get_buffer() cleans the frame on failure

Merge ff_get_buffer() and get_buffer_internal() to simplify the code.
libavcodec/decode.c