From 9d210bb42b0f2f9436f6448d610c7a88581df841 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Tue, 7 Nov 2006 13:50:41 +0000 Subject: [PATCH] typo Originally committed as revision 6934 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpeg12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index a7d8dc1..c4d934f 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -362,7 +362,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s) /* 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)); -- 2.7.4