mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 21:12:12 +00:00
avcodec/svq1dec: Remove duplicate buf_size check
Fixes CID1297573 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fc624ec9ba
commit
ff1d85b0ed
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user