diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-01-29 13:08:15 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-01-29 13:09:17 +0100 |
commit | 65c0b169611853195046f885227a8824e6e0b63a (patch) | |
tree | 3f2165a69f7bac37363dfab122de107527796951 | |
parent | 7cf161abe5fecf817f2212363181adc4fe3ca32b (diff) | |
download | ffmpeg-65c0b169611853195046f885227a8824e6e0b63a.tar.gz |
avcodec/ftr: use more portable return error code
-rw-r--r-- | libavcodec/ftr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ftr.c b/libavcodec/ftr.c index 277b9be5b8..74a2c10b5c 100644 --- a/libavcodec/ftr.c +++ b/libavcodec/ftr.c @@ -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) |