mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
avcodec/ftr: use more portable return error code
This commit is contained in:
parent
7cf161abe5
commit
65c0b16961
@ -37,7 +37,7 @@ static av_cold int ftr_init(AVCodecContext *avctx)
|
||||
|
||||
if (avctx->ch_layout.nb_channels > 64 ||
|
||||
avctx->ch_layout.nb_channels <= 0)
|
||||
return AVERROR(ENOTSUP);
|
||||
return AVERROR(EINVAL);
|
||||
|
||||
s->packet = av_packet_alloc();
|
||||
if (!s->packet)
|
||||
|
Loading…
Reference in New Issue
Block a user