diff vc1dec.c @ 10822:9ccc13d1144d libavcodec

Move AVCodecs from h263dec.c to msmpeg4.c and disentangle init decode init.
author michael
date Fri, 08 Jan 2010 19:40:10 +0000
parents d4d925400ba2
children 9f25ae41c807
line wrap: on
line diff
--- a/vc1dec.c	Fri Jan 08 19:10:11 2010 +0000
+++ b/vc1dec.c	Fri Jan 08 19:40:10 2010 +0000
@@ -2997,7 +2997,7 @@
         return -1;
     if (vc1_init_common(v) < 0) return -1;
     // only for ff_msmp4_mb_i_table
-    if (ff_msmpeg4_decode_init(s) < 0) return -1;
+    if (ff_msmpeg4_decode_init(avctx) < 0) return -1;
 
     avctx->coded_width = avctx->width;
     avctx->coded_height = avctx->height;