summaryrefslogtreecommitdiffstats
path: root/libavcodec/motionpixels_tablegen.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-07-18 19:53:36 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-07-18 20:00:24 +0200
commitf04d4345da29782035f241d605de5df3cefbfeda (patch)
tree40a90341ce8d3afe66c0dfbcf8ee8688d07c6868 /libavcodec/motionpixels_tablegen.h
parent3c3daf4d198306295e3342631f19422bdc258dbb (diff)
downloadffmpeg-streaming-f04d4345da29782035f241d605de5df3cefbfeda.zip
ffmpeg-streaming-f04d4345da29782035f241d605de5df3cefbfeda.tar.gz
Remove a pointless/bad "static".
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>
Diffstat (limited to 'libavcodec/motionpixels_tablegen.h')
-rw-r--r--libavcodec/motionpixels_tablegen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/motionpixels_tablegen.h b/libavcodec/motionpixels_tablegen.h
index b56dec6..b9802e5 100644
--- a/libavcodec/motionpixels_tablegen.h
+++ b/libavcodec/motionpixels_tablegen.h
@@ -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;
OpenPOWER on IntegriCloud