make DCT_common_init() static

Originally committed as revision 9482 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Aurelien Jacobs 18 years ago
parent a22caa6a3e
commit cacfe026a8
  1. 2
      libavcodec/mpegvideo.c
  2. 1
      libavcodec/mpegvideo.h

@ -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 */ /* 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_intra = dct_unquantize_h263_intra_c;
s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_c; s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_c;

@ -689,7 +689,6 @@ typedef struct MpegEncContext {
} MpegEncContext; } MpegEncContext;
int DCT_common_init(MpegEncContext *s);
void MPV_decode_defaults(MpegEncContext *s); void MPV_decode_defaults(MpegEncContext *s);
int MPV_common_init(MpegEncContext *s); int MPV_common_init(MpegEncContext *s);
void MPV_common_end(MpegEncContext *s); void MPV_common_end(MpegEncContext *s);

Loading…
Cancel
Save