Commit ecb74886 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '8e104619'

* commit '8e104619':
  shorten: check for return value

Conflicts:
	libavcodec/shorten.c

See: e20ebe49Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 785f71fc 8e104619
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment