[vlc-devel] Id3 tag and AVI RIFF file problem solved
Igor Andruszkiewicz
igor at tmm.pl
Fri Aug 8 16:44:07 CEST 2003
Hi
I found and sloved a bug with id3 tag and AVi file.
Sigmund :
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 );
Laurent Aimar pls add:
FILE : avi.c
FUNCTION: static int AVIInit( vlc_object_t * p_this )
vlc_bool_t b_stream_audio, b_stream_video;
/* Igor */
module_t * p_id3;
p_id3 = module_Need( p_input, "id3", NULL );
if ( p_id3 ) {
module_Unneed( p_input, p_id3 );
}
/* Igor */
p_input->pf_demux = AVIDemux_Seekable;
Best regards.
Igor Andruszkiewicz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20030808/ab63b71a/attachment.html>
More information about the vlc-devel
mailing list