[FFmpeg-soc] [soc]: r3782 - dirac/libavcodec/dirac.c

conrad subversion at mplayerhq.hu
Mon Nov 10 04:11:35 CET 2008


Author: conrad
Date: Mon Nov 10 04:11:35 2008
New Revision: 3782

Log:
Make arrays only used in dirac.c static


Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Mon Nov 10 04:11:35 2008
@@ -99,14 +99,14 @@ const float dirac_preset_kb[] = { 0.0722
 typedef uint8_t weights_t[4];
 
 /* Quarter pixel interpolation.  */
-const weights_t qpel_weights[] = {
+static const weights_t qpel_weights[] = {
     {  4,  0,  0,  0 }, /* rx=0, ry=0 */
     {  2,  0,  2,  0 }, /* rx=0, ry=1 */
     {  2,  2,  0,  0 }, /* rx=1, ry=0 */
     {  1,  1,  1,  1 }, /* rx=1, ry=1 */
 };
 
-const weights_t eighthpel_weights[] = {
+static const weights_t eighthpel_weights[] = {
     { 16,  0,  0,  0 }, /* rx=0, ry=0 */
     { 12,  0,  4,  0 }, /* rx=0, ry=1 */
     {  8,  0,  8,  0 }, /* rx=0, ry=2 */



More information about the FFmpeg-soc mailing list