diff mpeg12.c @ 4180:85e1f5ceb97e libavcodec

make more tables static
author mru
date Sun, 12 Nov 2006 23:14:20 +0000
parents aeb1b0d99013
children d6f83e2f8804
line wrap: on
line diff
--- a/mpeg12.c	Sun Nov 12 21:48:04 2006 +0000
+++ b/mpeg12.c	Sun Nov 12 23:14:20 2006 +0000
@@ -85,10 +85,10 @@
 extern void XVMC_init_block(MpegEncContext *s);//set s->block
 #endif
 
-const enum PixelFormat pixfmt_yuv_420[]= {PIX_FMT_YUV420P,-1};
-const enum PixelFormat pixfmt_yuv_422[]= {PIX_FMT_YUV422P,-1};
-const enum PixelFormat pixfmt_yuv_444[]= {PIX_FMT_YUV444P,-1};
-const enum PixelFormat pixfmt_xvmc_mpg2_420[] = {
+static const enum PixelFormat pixfmt_yuv_420[]= {PIX_FMT_YUV420P,-1};
+static const enum PixelFormat pixfmt_yuv_422[]= {PIX_FMT_YUV422P,-1};
+static const enum PixelFormat pixfmt_yuv_444[]= {PIX_FMT_YUV444P,-1};
+static const enum PixelFormat pixfmt_xvmc_mpg2_420[] = {
                                            PIX_FMT_XVMC_MPEG2_IDCT,
                                            PIX_FMT_XVMC_MPEG2_MC,
                                            -1};