Commit ff1d85b0 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/svq1dec: Remove duplicate buf_size check

Fixes CID1297573
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fc624ec9
......@@ -650,9 +650,6 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
src = (uint32_t *)(s->pkt_swapped + 4);
if (buf_size < 36)
return AVERROR_INVALIDDATA;
for (i = 0; i < 4; i++)
src[i] = ((src[i] << 16) | (src[i] >> 16)) ^ src[7 - i];
}
......
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