Commit c266d0e1 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'd423dd72'

* commit 'd423dd72':
  smc: fix the bounds check

Conflicts:
	libavcodec/smc.c

See: c727401aMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 8af88335 d423dd72
......@@ -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; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment