[FFmpeg-cvslog] avcodec/mjpeg: make 2 outcommented tables static

Michael Niedermayer git at videolan.org
Fri Aug 2 23:26:58 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug  2 23:11:58 2013 +0200| [f19a23bd4fb689aea800251cb261597b8d25e06f] | committer: Michael Niedermayer

avcodec/mjpeg: make 2 outcommented tables static

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f19a23bd4fb689aea800251cb261597b8d25e06f
---

 libavcodec/mjpeg.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c
index a5b1a80..bdd7b19 100644
--- a/libavcodec/mjpeg.c
+++ b/libavcodec/mjpeg.c
@@ -38,7 +38,7 @@
  * The spec says that the values given produce "good" quality, and
  * when divided by 2, "very good" quality.
  */
-const unsigned char std_luminance_quant_tbl[64] = {
+static const unsigned char std_luminance_quant_tbl[64] = {
     16,  11,  10,  16,  24,  40,  51,  61,
     12,  12,  14,  19,  26,  58,  60,  55,
     14,  13,  16,  24,  40,  57,  69,  56,
@@ -48,7 +48,7 @@ const unsigned char std_luminance_quant_tbl[64] = {
     49,  64,  78,  87, 103, 121, 120, 101,
     72,  92,  95,  98, 112, 100, 103,  99
 };
-const unsigned char std_chrominance_quant_tbl[64] = {
+static const unsigned char std_chrominance_quant_tbl[64] = {
     17,  18,  24,  47,  99,  99,  99,  99,
     18,  21,  26,  66,  99,  99,  99,  99,
     24,  26,  56,  99,  99,  99,  99,  99,



More information about the ffmpeg-cvslog mailing list