comparison h263.c @ 2658:d1609cfeb1d0 libavcodec

#defines for strict_std_compliance and split between inofficial extensions and non standarized things
author michael
date Sun, 08 May 2005 20:15:42 +0000
parents c735e3e60ca7
children 06f0744ffc18
comparison
equal deleted inserted replaced
2657:24472383b36f 2658:d1609cfeb1d0
2406 int time_incr; 2406 int time_incr;
2407 int time_div, time_mod; 2407 int time_div, time_mod;
2408 2408
2409 if(s->pict_type==I_TYPE){ 2409 if(s->pict_type==I_TYPE){
2410 if(!(s->flags&CODEC_FLAG_GLOBAL_HEADER)){ 2410 if(!(s->flags&CODEC_FLAG_GLOBAL_HEADER)){
2411 if(s->strict_std_compliance < 2) //HACK, the reference sw is buggy 2411 if(s->strict_std_compliance < FF_COMPLIANCE_VERY_STRICT) //HACK, the reference sw is buggy
2412 mpeg4_encode_visual_object_header(s); 2412 mpeg4_encode_visual_object_header(s);
2413 if(s->strict_std_compliance < 2 || picture_number==0) //HACK, the reference sw is buggy 2413 if(s->strict_std_compliance < FF_COMPLIANCE_VERY_STRICT || picture_number==0) //HACK, the reference sw is buggy
2414 mpeg4_encode_vol_header(s, 0, 0); 2414 mpeg4_encode_vol_header(s, 0, 0);
2415 } 2415 }
2416 if(!(s->workaround_bugs & FF_BUG_MS)) 2416 if(!(s->workaround_bugs & FF_BUG_MS))
2417 mpeg4_encode_gop_header(s); 2417 mpeg4_encode_gop_header(s);
2418 } 2418 }