[vlc-devel] Re: Id3 tag and AVI RIFF file problem solved

Sigmund Augdal sigmunau at stud.ntnu.no
Tue Aug 12 11:21:38 CEST 2003


> FIEL: id3tag.c
> 
> FUNCTION:  static int ParseID3Tags( vlc_object_t *p_this )
> 
> at ethe end of this function pls add 
> 
>     p_input->p_current_data += i_size; /* seek passed end of ID3 tag */
> 
> /// igor
>     p_pos = malloc( sizeof( stream_position_t ) );
>     if ( p_pos == 0 )
>       {
>             msg_Err( p_input, "no mem" );
>       }
> 
>     input_AccessReinit( p_input );
>     p_input->pf_seek( p_input,i_size);
>     input_Tell( p_input, p_pos );
> 
>     free(p_pos);
> 
> //igor
> 
>     return( VLC_SUCCESS );
Could you please explain to me what this patch is supposed to do? As far as
I can see half the patch is only getting the stream position without using
it for anything, and the rest of the patch only seeks to the current position.

Sigmund
-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list