1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

low_delay / has_b_frames fix

Originally committed as revision 770 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2002-07-17 10:30:31 +00:00
parent 1a013246fb
commit cc504d3c3c

View File

@@ -3504,7 +3504,9 @@ int mpeg4_decode_picture_header(MpegEncContext * s)
return -1; return -1;
} }
}else{ }else{
s->low_delay=0; // set low delay flag only once so the smart? low delay detection wont be overriden
if(s->picture_number==0)
s->low_delay=0;
} }
s->shape = get_bits(&s->gb, 2); /* vol shape */ s->shape = get_bits(&s->gb, 2); /* vol shape */