# HG changeset patch # User aurel # Date 1184056800 0 # Node ID 7583133469f15fff53e92504cd6cd9f9d8acd464 # Parent 8256f8ec2fac2c59b7699615d67d3ca014c7d9e9 don't compile some mpeg4 encoder code when encoders are disabled diff -r 8256f8ec2fac -r 7583133469f1 h263.c --- a/h263.c Tue Jul 10 03:40:37 2007 +0000 +++ b/h263.c Tue Jul 10 08:40:00 2007 +0000 @@ -2461,6 +2461,8 @@ int time_incr; int time_div, time_mod; + if (!ENABLE_MPEG4_ENCODER) return; + if(s->pict_type==I_TYPE){ if(!(s->flags&CODEC_FLAG_GLOBAL_HEADER)){ if(s->strict_std_compliance < FF_COMPLIANCE_VERY_STRICT) //HACK, the reference sw is buggy