diff options
Diffstat (limited to 'libavcodec/pictordec.c')
-rw-r--r-- | libavcodec/pictordec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index b7d7bf0cd4..7c8f7e9f36 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -131,7 +131,7 @@ static int decode_frame(AVCodecContext *avctx, bpp = bits_per_plane * s->nb_planes; if (bits_per_plane > 8 || bpp < 1 || bpp > 32) { av_log_ask_for_sample(avctx, "unsupported bit depth\n"); - return AVERROR_INVALIDDATA; + return AVERROR_PATCHWELCOME; } if (bytestream2_peek_byte(&s->g) == 0xFF || bpp == 1 || bpp == 4 || bpp == 8) { |