aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-10-08 09:09:19 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-10-08 09:09:19 +0000
commit6180ade790f16b2095ef8338dcd5fcc1deda7bcb (patch)
treeebc9b1082575bd7028049adc9365f46f9382926d
parent5a421d538e4ccddf107c8928b690f2d6003293bd (diff)
downloadffmpeg-6180ade790f16b2095ef8338dcd5fcc1deda7bcb.tar.gz
export DCT_common_init and add ff_prefix
Originally committed as revision 10680 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c4
-rw-r--r--libavcodec/mpegvideo.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 1c032ee132..b73ccbd63b 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 390b5a8d1a..c957441667 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -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];