ffmpeg/libavcodec
Steven Liu 7c05b7951c 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>
2022-06-24 15:03:37 +08:00
..
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:39 -03:00
2022-03-18 19:56:50 +01:00
2022-03-18 19:56:50 +01:00
2022-05-08 10:38:54 +08:00
2022-03-15 10:37:54 -03:00
2022-03-15 09:42:41 -03:00
2022-03-15 09:42:41 -03:00
2022-05-30 19:44:11 +02:00
2022-06-16 10:23:30 +02:00
2022-03-15 09:42:43 -03:00
2022-03-15 09:42:43 -03:00
2022-03-16 14:04:35 +02:00
2022-04-10 20:12:23 +02:00
2022-04-13 00:37:06 +02:00
2022-03-15 09:42:45 -03:00