[vlc-devel] commit: Revert "ASF: Use stream_Seek() if we only want to seek" ( Rafaël Carré )

git version control git at videolan.org
Fri Jun 6 12:01:39 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Jun  6 12:02:56 2008 +0200| [b1285bea5deab1b29307256057f661b573d03186]

Revert "ASF: Use stream_Seek() if we only want to seek"

This reverts commit e9fdaf06b59ebdd0b9b5faa000c18732354e44e1.

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

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

diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index 74a7ca9..bf896df 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -165,7 +165,7 @@ static int  ASF_ReadObject_Header( stream_t *s, asf_object_t *p_obj )
 #endif
 
     /* Cannot fail as peek succeed */
-    stream_Seek( s, stream_Tell( s ) + 30 );
+    stream_Read( s, NULL, 30 );
 
     /* Now load sub object */
     for( ; ; )




More information about the vlc-devel mailing list