From a1299460d79912a58f4d0c1743f76ed931ec3073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Duraffort?= Date: Sat, 9 Oct 2010 14:18:01 +0200 Subject: [PATCH] avformat: fix typo. --- modules/demux/avformat/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c index a8042b8e5d..b195d27177 100644 --- a/modules/demux/avformat/demux.c +++ b/modules/demux/avformat/demux.c @@ -652,7 +652,7 @@ static block_t *BuildSsaFrame( const AVPacket *p_pkt, unsigned i_order ) block_t *p_frame = block_heap_Alloc( p, p, strlen(p) + 1 ); if( p_frame ) - p_frame->i_length = CLOCK_FREQ * ((h1 - h1) * 3600 + + p_frame->i_length = CLOCK_FREQ * ((h1-h0) * 3600 + (m1-m0) * 60 + (s1-s0) * 1) + CLOCK_FREQ * (c1-c0) / 100; -- GitLab