Mercurial > libavcodec.hg
changeset 276:1e2f9ef286d4 libavcodec
- Fix pts calculation on mpeg mux (A/V sync) - Thanks to Lennert Buytenhek
- Fix temporal-reference-glitches for MPEG1 - Thanks to Lennert Buytenhek
author | pulento |
---|---|
date | Wed, 20 Mar 2002 11:16:07 +0000 |
parents | 7ebb3f9aaf3b |
children | 5cb2978e701f |
files | mpeg12.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg12.c Tue Mar 19 06:30:41 2002 +0000 +++ b/mpeg12.c Wed Mar 20 11:16:07 2002 +0000 @@ -129,7 +129,6 @@ } } - s->fake_picture_number++; } @@ -226,6 +225,7 @@ /* temporal reference */ put_bits(&s->pb, 10, (s->fake_picture_number - s->gop_picture_number) & 0x3ff); + s->fake_picture_number++; put_bits(&s->pb, 3, s->pict_type); put_bits(&s->pb, 16, 0xffff); /* non constant bit rate */