Skip to content

Commit

Permalink
Clarify av_check_image_size() log message.
Browse files Browse the repository at this point in the history
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@24710 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
  • Loading branch information
stefano committed Aug 6, 2010
1 parent bcde4f5 commit eec44ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcore/imgutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ int av_check_image_size(unsigned int w, unsigned int h, int log_offset, void *lo
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 invalid (%ux%u)\n", w, h);
av_log(&imgutils, AV_LOG_ERROR, "Picture size %ux%u is invalid\n", w, h);
return AVERROR(EINVAL);
}

0 comments on commit eec44ca

Please sign in to comment.