aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-08-19 20:52:26 +0000
committerDiego Biurrun <diego@biurrun.de>2008-08-19 20:52:26 +0000
commit0da49fca79ce4bca32bbbca00e79a60f8be523a2 (patch)
tree2ebfd4a9d539def67ef21cd7aac1b13918234688 /libavcodec/mdec.c
parent7942269b710e138c89171635be1801fde3091c23 (diff)
downloadffmpeg-0da49fca79ce4bca32bbbca00e79a60f8be523a2.tar.gz
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
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r--libavcodec/mdec.c3
1 files changed, 2 insertions, 1 deletions
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;