changeset 5788:a3a2968e16ad libavcodec

export DCT_common_init and add ff_prefix
author bcoudurier
date Mon, 08 Oct 2007 09:09:19 +0000
parents b92c03847d60
children a40edc95456d
files mpegvideo.c mpegvideo.h
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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];