[vlc-commits] commit: avformat: fix typo. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Sat Oct 9 14:26:12 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Oct  9 14:18:01 2010 +0200| [a1299460d79912a58f4d0c1743f76ed931ec3073] | committer: Rémi Duraffort 

avformat: fix typo.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1299460d79912a58f4d0c1743f76ed931ec3073
---

 modules/demux/avformat/demux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index a8042b8..b195d27 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;



More information about the vlc-commits mailing list