Changeset a11c16a0 in ffmpeg

Timestamp:
Sep 21, 2013, 1:10:45 AM (11 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
68f328fc
Parents:
15672e83
git-author:
Neil Birkbeck <neil.birkbeck@gmail.com> (09/21/13 00:25:40)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (09/21/13 01:10:45)
Message:

avfilter/vf_psnr: Prevent integer overflow.

The 32-bit integer accumulator in MSE computation can overflow for 8-bit frame data.
(e.g., for 1080p white frame compared to a black frame can give sum of 255*255*1080*1920 > 232).

Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

(No files)

Note: See TracChangeset for help on using the changeset viewer.