Merge commit 'd423dd72be451462c6fb1cbbe313bed0194001ab'
[ffmpeg.git] / libavcodec / smc.c
index 01271b308c418f70f11f7b5e5311078d49a29ffb..131300a59552ff94538ed9aa8fe48de48608cd9b 100644 (file)
@@ -70,7 +70,7 @@ typedef struct SmcContext {
         row_ptr += stride * 4; \
     } \
     total_blocks--; \
-    if (total_blocks < 0 + !!n_blocks) \
+    if (total_blocks < !!n_blocks) \
     { \
         av_log(s->avctx, AV_LOG_INFO, "warning: block counter just went negative (this should not happen)\n"); \
         return; \