Browse Source

dfa: remove redundant check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
740ebe468c
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/dfa.c

+ 0
- 2
libavcodec/dfa.c View File

@@ -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);


Loading…
Cancel
Save