Mercurial > libavcodec.hg
diff mpeg12.c @ 4159:aeb1b0d99013 libavcodec
typo
author | bcoudurier |
---|---|
date | Tue, 07 Nov 2006 13:50:41 +0000 |
parents | 47d1b5261f17 |
children | 85e1f5ceb97e |
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));