Mercurial > libavcodec.hg
diff mpeg12.c @ 1346:44c94325810c libavcodec
CODEC_FLAG_LOW_DELAY fix
author | michaelni |
---|---|
date | Sun, 06 Jul 2003 21:24:04 +0000 |
parents | ca3122e0a3cd |
children | 8f613147c6cb |
line wrap: on
line diff
--- a/mpeg12.c Sat Jul 05 14:18:07 2003 +0000 +++ b/mpeg12.c Sun Jul 06 21:24:04 2003 +0000 @@ -1653,7 +1653,10 @@ s->bit_rate = ((s->bit_rate / 400) | (bit_rate_ext << 12)) * 400; skip_bits1(&s->gb); /* marker */ vbv_buf_ext = get_bits(&s->gb, 8); + s->low_delay = get_bits1(&s->gb); + if(s->flags & CODEC_FLAG_LOW_DELAY) s->low_delay=1; + frame_rate_ext_n = get_bits(&s->gb, 2); frame_rate_ext_d = get_bits(&s->gb, 5); av_reduce(