mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Cosmetics: if( -> if (.
Originally committed as revision 24859 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a29b1700ee
commit
be7110cded
@ -114,7 +114,7 @@ int av_check_image_size(unsigned int w, unsigned int h, int log_offset, void *lo
|
||||
{
|
||||
ImgUtils imgutils = { &imgutils_class, log_offset, log_ctx };
|
||||
|
||||
if((int)w>0 && (int)h>0 && (w+128)*(uint64_t)(h+128) < INT_MAX/8)
|
||||
if ((int)w>0 && (int)h>0 && (w+128)*(uint64_t)(h+128) < INT_MAX/8)
|
||||
return 0;
|
||||
|
||||
av_log(&imgutils, AV_LOG_ERROR, "Picture size %ux%u is invalid\n", w, h);
|
||||
|
Loading…
Reference in New Issue
Block a user