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

git at videolan.org git at videolan.org
Sat Oct 30 19:39:46 CEST 2010


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

avformat: fix typo.
(cherry picked from commit a1299460d79912a58f4d0c1743f76ed931ec3073)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 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 6d123d0..3279dad 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -641,7 +641,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