diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-04 14:49:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-04 14:49:00 +0200 |
commit | 740ebe468c0567cac03ef7e6b4b9fd0253b97da2 (patch) | |
tree | 79d1b154c89c41c911b90aef36baca323ec63ce1 /libavcodec | |
parent | 7ad359b3949cc333697f722c050ff4d4a73276ae (diff) | |
download | ffmpeg-streaming-740ebe468c0567cac03ef7e6b4b9fd0253b97da2.zip ffmpeg-streaming-740ebe468c0567cac03ef7e6b4b9fd0253b97da2.tar.gz |
dfa: remove redundant check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dfa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/dfa.c b/libavcodec/dfa.c index 7522a05..fcfcd30 100644 --- a/libavcodec/dfa.c +++ b/libavcodec/dfa.c @@ -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); |