diff mdec.c @ 7623:0bd920dcb7a5 libavcodec

Untangle mpeg12.c and mdec.c so that mdec.c can be compiled separately.
author diego
date Tue, 19 Aug 2008 20:52:26 +0000
parents a702d2a5892f
children 1d04f38681bd
line wrap: on
line diff
--- a/mdec.c	Tue Aug 19 20:04:46 2008 +0000
+++ b/mdec.c	Tue Aug 19 20:52:26 2008 +0000
@@ -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 @@
     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;