Commit 740ebe46 authored by Michael Niedermayer's avatar Michael Niedermayer

dfa: remove redundant check

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7ad359b3
......@@ -254,8 +254,6 @@ static int decode_wdlt(GetByteContext *gb, uint8_t *frame, int width, int height
y += skip_lines;
segments = bytestream2_get_le16(gb);
}
if (frame_end <= frame)
return -1;
if (segments & 0x8000) {
frame[width - 1] = segments & 0xFF;
segments = bytestream2_get_le16(gb);
......
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