Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-11 04:12:52 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-03-11 04:12:52 +0400
commitc3c2db49a7b10d0b57594332ee3c2cf4aa7552f2 (patch)
tree917b2763af34e1b6ded7184a23a28ee1b6346e8b /libavcodec/cookdata.h
parent6cb89df84596af0939a00496b381bcaa013ba929 (diff)
parent442c3a8cb1785d74f8e2d7ab35b1862b7088436b (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: cook: expand dither_tab[], and make sure indexes into it don't overflow. xxan: reindent xan_unpack_luma(). xxan: protect against chroma LUT overreads. xxan: convert to bytestream2 API. xxan: don't read before start of buffer in av_memcpy_backptr(). vp8: convert mbedge loopfilter x86 assembly to use named arguments. vp8: convert inner loopfilter x86 assembly to use named arguments. Conflicts: libavcodec/xxan.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cookdata.h')
-rw-r--r--libavcodec/cookdata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cookdata.h b/libavcodec/cookdata.h
index b854db2db9..7b9cba3c11 100644
--- a/libavcodec/cookdata.h
+++ b/libavcodec/cookdata.h
@@ -36,8 +36,8 @@ static const int expbits_tab[8] = {
52,47,43,37,29,22,16,0,
};
-static const float dither_tab[8] = {
- 0.0, 0.0, 0.0, 0.0, 0.0, 0.176777, 0.25, 0.707107,
+static const float dither_tab[9] = {
+ 0.0, 0.0, 0.0, 0.0, 0.0, 0.176777, 0.25, 0.707107, 1.0
};
static const float quant_centroid_tab[7][14] = {