Mercurial > libavcodec.hg
diff h263.c @ 5268:7583133469f1 libavcodec
don't compile some mpeg4 encoder code when encoders are disabled
author | aurel |
---|---|
date | Tue, 10 Jul 2007 08:40:00 +0000 |
parents | a5e1cc69033d |
children | 101f20612a94 |
line wrap: on
line diff
--- 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