Commit 1f96519f authored by michaelni's avatar michaelni

the reference sw doesnt like some legal headers ...


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2020 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 04381e17
......@@ -1747,7 +1747,9 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number)
if(s->pict_type==I_TYPE){
if(!(s->flags&CODEC_FLAG_GLOBAL_HEADER)){
if(s->strict_std_compliance < 2) //HACK, the reference sw is buggy
mpeg4_encode_visual_object_header(s);
if(s->strict_std_compliance < 2 || picture_number==0) //HACK, the reference sw is buggy
mpeg4_encode_vol_header(s, 0, 0);
}
mpeg4_encode_gop_header(s);
......
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