mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Merge commit 'd423dd72be451462c6fb1cbbe313bed0194001ab'
* commit 'd423dd72be451462c6fb1cbbe313bed0194001ab': smc: fix the bounds check Conflicts: libavcodec/smc.c See: c727401aa9d62335e89d118a5b4e202edf39d905 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
c266d0e1bd
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user