diff options
author | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2012-02-16 02:11:17 +0600 |
---|---|---|
committer | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2012-02-16 02:39:30 +0600 |
commit | d1ea26f6407e8bf52da1e36a99c4d9bbb14fb1fb (patch) | |
tree | 78d523d7a3cb86e147fb15e5a29dbe5adf261327 /tests/ref/vsynth2/jpegls | |
parent | 59df25effd438ed3120aacc83e74676334adf560 (diff) | |
download | ffmpeg-d1ea26f6407e8bf52da1e36a99c4d9bbb14fb1fb.tar.gz |
Do not try to read residue if ave_mean <= 1
Otherwise, we end up with with log(0) or log(1). av_ceil_log2 simply
assumes the argument is non-zero and returns wrong result when it is.
(Not that there is a proper way of returning an undefined value.)
Diffstat (limited to 'tests/ref/vsynth2/jpegls')
0 files changed, 0 insertions, 0 deletions