Commit 969ce935 authored by aurel's avatar aurel

don't compile some mpeg4 encoder code when encoders are disabled

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9571 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b92bf10e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment