diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-13 21:01:08 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-13 21:01:08 +0300 |
commit | 4001fc4267985dc9667de141a5346079a68beb0f (patch) | |
tree | bfbfe489f433b7914ab89e7c137fe667dd64eb0a /libavcodec | |
parent | dae7e4e63da32e2c95d8aeb86074be139229c29a (diff) |
avcodec/4xm: remove duplicate assert
Found-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/4xm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 7c5e2fdf87..3a25622860 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -346,7 +346,7 @@ static int decode_p_block(FourXContext *f, uint16_t *dst, const uint16_t *src, uint16_t *start, *end; unsigned dc = 0; - av_assert0(code >= 0 && code <= 6 && log2w >= 0 && log2h >= 0); + av_assert0(log2w >= 0 && log2h >= 0); index = size2index[log2h][log2w]; av_assert0(index >= 0); |