Mercurial > libavcodec.hg
changeset 4159:aeb1b0d99013 libavcodec
typo
author | bcoudurier |
---|---|
date | Tue, 07 Nov 2006 13:50:41 +0000 |
parents | 47d1b5261f17 |
children | 357dc960e3e2 |
files | mpeg12.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg12.c Tue Nov 07 13:45:08 2006 +0000 +++ b/mpeg12.c Tue Nov 07 13:50:41 2006 +0000 @@ -362,7 +362,7 @@ /* only works for NTSC 29.97 */ int d = time_code / 17982; int m = time_code % 17982; - //if (m < 2) m += 2; /* not needed since -2,-1 / 2 in C returns 0 */ + //if (m < 2) m += 2; /* not needed since -2,-1 / 1798 in C returns 0 */ time_code += 18 * d + 2 * ((m - 2) / 1798); } put_bits(&s->pb, 5, (uint32_t)((time_code / (fps * 3600)) % 24));