Commit ffe2c09d authored by Björn Axelsson's avatar Björn Axelsson Committed by Carl Eugen Hoyos

Fix timestamp parsing in XSUB decoder.

Patch by Björn Axelsson gecko A acc D umu D se

Originally committed as revision 17087 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7a094c6a
...@@ -28,7 +28,7 @@ static av_cold int decode_init(AVCodecContext *avctx) { ...@@ -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_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) { static uint64_t parse_timecode(const uint8_t *buf) {
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment