diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2022-06-24 13:55:41 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2022-06-24 15:03:37 +0800 |
commit | 7c05b7951cb47716230c95744240bc60ec5f9433 (patch) | |
tree | 0014f97fcacb8ba9ca3de1671f3abac09c0e9211 /tests/checkasm/vp8dsp.c | |
parent | ebefca7b0eeec823f823e03ff00aca057d2d60dd (diff) | |
download | ffmpeg-7c05b7951cb47716230c95744240bc60ec5f9433.tar.gz |
avcodec/audiotoolboxenc: return external error if encode failed
because the AudioConverterFillComplexBuffer can return 0 or 1 if
success.
so set the ret to 0 it AudioConverterFillComplexBuffer success and
return ret value for success or return AVERROR_EXTERNAL when
AudioConverterFillComplexBuffer failed.
BTW change the error message log level from warning to error.
Reviewed-by: Zhao Zhili <zhilizhao@tencent.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'tests/checkasm/vp8dsp.c')
0 files changed, 0 insertions, 0 deletions