[FFmpeg-cvslog] avcodec/4xm: remove duplicate assert
Michael Niedermayer
git at videolan.org
Thu Nov 13 19:06:13 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 13 19:01:08 2014 +0100| [4001fc4267985dc9667de141a5346079a68beb0f] | committer: Michael Niedermayer
avcodec/4xm: remove duplicate assert
Found-by: carl
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4001fc4267985dc9667de141a5346079a68beb0f
---
libavcodec/4xm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 7c5e2fd..3a25622 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);
More information about the ffmpeg-cvslog
mailing list