---

So here it is, just implementing the more lightweight init call.

 libavcodec/mpeg4videodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 97dbcf6..2269123 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -2068,7 +2068,7 @@ static int decode_user_data(Mpeg4DecContext *ctx, 
GetBitContext *gb)
 
     if (ctx->xvid_build >= 0 && s->avctx->idct_algo == FF_IDCT_AUTO) {
         s->avctx->idct_algo = FF_IDCT_XVIDMMX;
-        ff_dct_common_init(s);
+        ff_idctdsp_init(&s->idsp, s->avctx);
     }
 
     return 0;
-- 
1.8.3.2

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to