export DCT_common_init and add ff_prefix

Originally committed as revision 10680 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 17 years ago
parent 5a421d538e
commit 6180ade790
  1. 4
      libavcodec/mpegvideo.c
  2. 1
      libavcodec/mpegvideo.h

@ -130,7 +130,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 */
static int DCT_common_init(MpegEncContext *s)
int ff_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;
@ -431,7 +431,7 @@ int MPV_common_init(MpegEncContext *s)
return -1;
dsputil_init(&s->dsp, s->avctx);
DCT_common_init(s);
ff_dct_common_init(s);
s->flags= s->avctx->flags;
s->flags2= s->avctx->flags2;

@ -723,6 +723,7 @@ void ff_er_frame_start(MpegEncContext *s);
void ff_er_frame_end(MpegEncContext *s);
void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int endy, int status);
int ff_dct_common_init(MpegEncContext *s);
extern enum PixelFormat ff_yuv420p_list[2];

Loading…
Cancel
Save