[Ffmpeg-cvslog] r7995 - trunk/libavcodec/h264.c
michael
subversion
Fri Feb 16 22:25:23 CET 2007
Author: michael
Date: Fri Feb 16 22:25:22 2007
New Revision: 7995
Modified:
trunk/libavcodec/h264.c
Log:
simplify
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Fri Feb 16 22:25:22 2007
@@ -1039,7 +1039,7 @@
static const int8_t top [7]= {LEFT_DC_PRED8x8, 1,-1,-1};
static const int8_t left[7]= { TOP_DC_PRED8x8,-1, 2,-1,DC_128_PRED8x8};
- if(mode < 0 || mode > 6) {
+ if(mode > 6U) {
av_log(h->s.avctx, AV_LOG_ERROR, "out of range intra chroma pred mode at %d %d\n", s->mb_x, s->mb_y);
return -1;
}
More information about the ffmpeg-cvslog
mailing list