100l typo, xsub encoder printed end time hours where minutes should have been.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 26 Aug 2009 10:08:00 +0000 (10:08 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 26 Aug 2009 10:08:00 +0000 (10:08 +0000)
Originally committed as revision 19712 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/xsubenc.c

index 55fcb62..dbf2a2f 100644 (file)
@@ -154,7 +154,7 @@ static int xsub_encode(AVCodecContext *avctx, unsigned char *buf,
     snprintf(buf, 28,
         "[%02d:%02d:%02d.%03d-%02d:%02d:%02d.%03d]",
         start_tc[3], start_tc[2], start_tc[1], start_tc[0],
-        end_tc[3],   end_tc[3],   end_tc[1],   end_tc[0]);
+        end_tc[3],   end_tc[2],   end_tc[1],   end_tc[0]);
 
     // Width and height must probably be multiples of 2.
     // 2 pixels required on either side of subtitle.