2019-03-21 10:06 GMT+01:00, Nicolas George :
> Carl Eugen Hoyos (12019-03-20):
>> +if (par->codec_id != AV_CODEC_ID_AAC && par->codec_id !=
>> AV_CODEC_ID_MP4ALS) {
>> +av_log(ctx, AV_LOG_ERROR, "Only AAC, LATM and ALS are
>> supported\n");
>> +return AVERROR_INVALIDDATA;
>> +
On 3/21/2019 6:06 AM, Nicolas George wrote:
> Carl Eugen Hoyos (12019-03-20):
>> +if (par->codec_id != AV_CODEC_ID_AAC && par->codec_id !=
>> AV_CODEC_ID_MP4ALS) {
>> +av_log(ctx, AV_LOG_ERROR, "Only AAC, LATM and ALS are supported\n");
>> +return AVERROR_INVALIDDATA;
>> +}
Carl Eugen Hoyos (12019-03-20):
> +if (par->codec_id != AV_CODEC_ID_AAC && par->codec_id !=
> AV_CODEC_ID_MP4ALS) {
> +av_log(ctx, AV_LOG_ERROR, "Only AAC, LATM and ALS are supported\n");
> +return AVERROR_INVALIDDATA;
> +}
I think EINVAL is more correct in this kind of ca