aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-07-05 09:55:48 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-07-05 09:55:48 +0000
commitcacfe026a8b3e375df54d79ef45a9f90d5ddc86f (patch)
tree03aaf42901a00b018d12f1287246061534681fa0 /libavcodec
parenta22caa6a3eeaed8ec6d77a5260b99e952e91b1fa (diff)
downloadffmpeg-cacfe026a8b3e375df54d79ef45a9f90d5ddc86f.tar.gz
make DCT_common_init() static
Originally committed as revision 9482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo.c2
-rw-r--r--libavcodec/mpegvideo.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 34fa8910aa..db11d96afc 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -135,7 +135,7 @@ const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end
}
/* init common dct for both encoder and decoder */
-int DCT_common_init(MpegEncContext *s)
+static int DCT_common_init(MpegEncContext *s)
{
s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_c;
s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_c;
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 99a8d1e295..f7a87a3432 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -689,7 +689,6 @@ typedef struct MpegEncContext {
} MpegEncContext;
-int DCT_common_init(MpegEncContext *s);
void MPV_decode_defaults(MpegEncContext *s);
int MPV_common_init(MpegEncContext *s);
void MPV_common_end(MpegEncContext *s);