OSDN Git Service

Fix timestamp parsing in XSUB decoder.
authorBjörn Axelsson <gecko@acc.umu.se>
Mon, 9 Feb 2009 00:18:26 +0000 (00:18 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 9 Feb 2009 00:18:26 +0000 (00:18 +0000)
Patch by Björn Axelsson gecko A acc D umu D se

Originally committed as revision 17087 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/xsubdec.c

index 9ac315b..0274705 100644 (file)
@@ -28,7 +28,7 @@ static av_cold int decode_init(AVCodecContext *avctx) {
 }
 
 static const uint8_t tc_offsets[9] = { 0, 1, 3, 4, 6, 7, 9, 10, 11 };
-static const uint8_t tc_muls[9] = { 10, 6, 10, 6, 10, 6, 10, 10, 1 };
+static const uint8_t tc_muls[9] = { 10, 6, 10, 6, 10, 10, 10, 10, 1 };
 
 static uint64_t parse_timecode(const uint8_t *buf) {
     int i;