Mercurial > libavcodec.hg
changeset 2389:429c1eedeee9 libavcodec
fix timestamp prediction for low_delay mpeg streams
author | michael |
---|---|
date | Tue, 14 Dec 2004 12:04:45 +0000 |
parents | 55a72627a2c5 |
children | ce45e1dd4b09 |
files | parser.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/parser.c Mon Dec 13 16:11:38 2004 +0000 +++ b/parser.c Tue Dec 14 12:04:45 2004 +0000 @@ -325,6 +325,7 @@ frame_rate_ext_n = (buf[5] >> 5) & 3; frame_rate_ext_d = (buf[5] & 0x1f); pc->progressive_sequence = buf[1] & (1 << 3); + avctx->has_b_frames= buf[5] >> 7; pc->width |=(horiz_size_ext << 12); pc->height |=( vert_size_ext << 12);