[FFmpeg-devel] [PATCH 3/6] truehd_core: Return error in case of error

Paul B Mahol onemda at gmail.com
Tue Jul 9 13:49:20 EEST 2019


On 7/6/19, Andreas Rheinhardt <andreas.rheinhardt at gmail.com> wrote:
> Several checks (e.g. when the size of the input packet is too small)
> simply used "goto fail", but didn't set the return value appropriately
> for an error.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavcodec/truehd_core_bsf.c | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)
>

LGTM


More information about the ffmpeg-devel mailing list