OSDN Git Service

Remove a pointless/bad "static".
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 18 Jul 2011 17:53:36 +0000 (19:53 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 18 Jul 2011 18:00:24 +0000 (20:00 +0200)
It has no advantage and seems to cause compile issues with
some combinations of compiler/compiler flags/PIC.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/motionpixels_tablegen.h

index b56dec6..b9802e5 100644 (file)
@@ -30,7 +30,7 @@ typedef struct YuvPixel {
 } YuvPixel;
 
 static int mp_yuv_to_rgb(int y, int v, int u, int clip_rgb) {
-    static const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
+    const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
     int r, g, b;
 
     r = (1000 * y + 701 * v) / 1000;