diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-07-10 08:40:00 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-07-10 08:40:00 +0000 |
commit | 196b8b4ecc46d1cc021396aa31f2b99c98b0a56c (patch) | |
tree | 53b855452e1d26d6f0a6bb4fce947196026bdf78 | |
parent | 5b154bd5cd7b6fdf6c97bc286bf3b10250855cf2 (diff) | |
download | ffmpeg-196b8b4ecc46d1cc021396aa31f2b99c98b0a56c.tar.gz |
don't compile some mpeg4 encoder code when encoders are disabled
Originally committed as revision 9571 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/h263.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 7446bda6be..3e1b57a9e2 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -2461,6 +2461,8 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number) 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 |