[Ffmpeg-cvslog] r6934 - trunk/libavcodec/mpeg12.c

bcoudurier subversion
Tue Nov 7 14:50:41 CET 2006


Author: bcoudurier
Date: Tue Nov  7 14:50:41 2006
New Revision: 6934

Modified:
   trunk/libavcodec/mpeg12.c

Log:
typo

Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c	(original)
+++ trunk/libavcodec/mpeg12.c	Tue Nov  7 14:50:41 2006
@@ -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));




More information about the ffmpeg-cvslog mailing list