avcodec/4xm: remove duplicate assert

Found-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-11-13 19:01:08 +01:00
parent dae7e4e63d
commit 4001fc4267
1 changed files with 1 additions and 1 deletions

View File

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