aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8.c
diff options
context:
space:
mode:
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2012-02-16 02:11:17 +0600
committerMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2012-02-16 02:39:30 +0600
commitd1ea26f6407e8bf52da1e36a99c4d9bbb14fb1fb (patch)
tree78d523d7a3cb86e147fb15e5a29dbe5adf261327 /libavcodec/vp8.c
parent59df25effd438ed3120aacc83e74676334adf560 (diff)
downloadffmpeg-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 'libavcodec/vp8.c')
0 files changed, 0 insertions, 0 deletions