From cacfe026a8b3e375df54d79ef45a9f90d5ddc86f Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Thu, 5 Jul 2007 09:55:48 +0000 Subject: [PATCH] make DCT_common_init() static Originally committed as revision 9482 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 2 +- libavcodec/mpegvideo.h | 1 - 2 files changed, 1 insertion(+), 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);