diff h263dec.c @ 701:85b071dfc7e3 libavcodec

ff_get_fourcc() & XVIX support
author michaelni
date Fri, 27 Sep 2002 10:27:57 +0000
parents b4bddbde44f3
children 6cba3b6196f0
line wrap: on
line diff
--- a/h263dec.c	Thu Sep 26 23:27:22 2002 +0000
+++ b/h263dec.c	Fri Sep 27 10:27:57 2002 +0000
@@ -144,7 +144,11 @@
 
     s->hurry_up= avctx->hurry_up;
     s->error_resilience= avctx->error_resilience;
+
     s->workaround_bugs= avctx->workaround_bugs;
+    if(s->avctx->fourcc == ff_get_fourcc("XVIX") && s->workaround_bugs==0) 
+        s->workaround_bugs=2;
+
     s->flags= avctx->flags;
 
     *data_size = 0;