From 0da49fca79ce4bca32bbbca00e79a60f8be523a2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 19 Aug 2008 20:52:26 +0000 Subject: Untangle mpeg12.c and mdec.c so that mdec.c can be compiled separately. Originally committed as revision 14851 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/mdec.c') diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index b928ac1efb..3dd96ec7e7 100644 --- a/libavcodec/mdec.c +++ b/libavcodec/mdec.c @@ -30,6 +30,7 @@ #include "avcodec.h" #include "dsputil.h" #include "mpegvideo.h" +#include "mpeg12.h" typedef struct MDECContext{ AVCodecContext *avctx; @@ -223,7 +224,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ AVFrame *p= &a->picture; mdec_common_init(avctx); - init_vlcs(); + ff_init_vlcs(); ff_init_scantable(a->dsp.idct_permutation, &a->scantable, ff_zigzag_direct); p->qstride= a->mb_width; -- cgit v1.2.3