aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-27 10:27:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-27 10:27:57 +0000
commit202ef8b8196a107df242b29ebee8cbbd72549057 (patch)
tree5f6ac42c30e27ed2a3307c6c79f7f3c159267ec9 /libavcodec/h263dec.c
parent0c2dd16eb65bb0ade97346aabecc4762f6bcac31 (diff)
downloadffmpeg-202ef8b8196a107df242b29ebee8cbbd72549057.tar.gz
ff_get_fourcc() & XVIX support
Originally committed as revision 975 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index ffecbc932b..c8c38cac87 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -144,7 +144,11 @@ uint64_t time= rdtsc();
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;