# HG changeset patch # User bcoudurier # Date 1191834559 0 # Node ID a3a2968e16ad406ed07b11dfcae1027989b69ff4 # Parent b92c03847d605f5a665cc0a787f8f04d56b302aa export DCT_common_init and add ff_prefix diff -r b92c03847d60 -r a3a2968e16ad mpegvideo.c --- a/mpegvideo.c Sun Oct 07 23:46:51 2007 +0000 +++ b/mpegvideo.c Mon Oct 08 09:09:19 2007 +0000 @@ -130,7 +130,7 @@ } /* 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 @@ 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; diff -r b92c03847d60 -r a3a2968e16ad mpegvideo.h --- a/mpegvideo.h Sun Oct 07 23:46:51 2007 +0000 +++ b/mpegvideo.h Mon Oct 08 09:09:19 2007 +0000 @@ -723,6 +723,7 @@ 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];