Commit e633d2a5 authored by Laurent Aimar's avatar Laurent Aimar

* wav: fix a parsing bug.

parent 5cd4178e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* wav.c : wav file input module for vlc * wav.c : wav file input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: wav.c,v 1.15 2003/05/05 22:23:37 gbazin Exp $ * $Id: wav.c,v 1.16 2003/05/21 10:02:55 fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -242,7 +242,7 @@ static int FindTag( input_thread_t *p_input, uint32_t i_tag ) ...@@ -242,7 +242,7 @@ static int FindTag( input_thread_t *p_input, uint32_t i_tag )
/* Yes, we have found the good tag */ /* Yes, we have found the good tag */
return( 1 ); return( 1 );
} }
if( !SkipBytes( p_input, __EVEN( i_size ) + 8 ) ) if( SkipBytes( p_input, __EVEN( i_size ) + 8 ) )
{ {
return( 0 ); return( 0 );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment