mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
7a094c6a42
commit
ffe2c09d46
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user