X-Git-Url: https://git.piment-noir.org/?p=deb_ffmpeg.git;a=blobdiff_plain;f=ffmpeg%2Flibavcodec%2Fshorten.c;h=4c9cc0636c1b3a5c2dbd2fcf75bdb400b040c060;hp=5c4bf816b9e345f3ae02f6299f3879cda8f93e90;hb=f6fa7814ccfe3e76514b36cf04f5cd3cb657c8cf;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00 diff --git a/ffmpeg/libavcodec/shorten.c b/ffmpeg/libavcodec/shorten.c index 5c4bf81..4c9cc06 100644 --- a/ffmpeg/libavcodec/shorten.c +++ b/ffmpeg/libavcodec/shorten.c @@ -510,7 +510,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data, if (bitshift > 31) { av_log(avctx, AV_LOG_ERROR, "bitshift %d is invalid\n", bitshift); - return AVERROR_PATCHWELCOME; + return AVERROR_INVALIDDATA; } s->bitshift = bitshift; break;