<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.1.8">
</HEAD>
<BODY>
Hi Sigmund !<BR>
<BR>
Im sorry it wasn't too clear. AVI demux (in VLC) has a problem with reading/parsing header when id3 tag V2 exists in <B>front of the file</B>. That why we have to seek to postion after id3 tag (if id3 tag v2) and then let "demux's" to check file. I attached id3tag.c file pls do diff to see changes. What do think about it ? <BR>
<BR>
Igor
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>> 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</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>