[vlc-devel] unknown bug in the avi demuxer ... (gcc?) pls comment if you know where's the problem

xxcv xxcv07 at gmail.com
Tue Jun 16 10:54:27 CEST 2009


HI,

I am getting this issue where avi file + srt formated text file get 
failing to demux the subtitle track. In this code block. 
modules/demux/avi/avi.c
{{{

        if( ( p_frame = stream_Block( p_demux->s, __EVEN( i_size ) ) 
)==NULL )
        {
            msg_Warn( p_demux, "failed reading data" );
            tk->b_eof = false;
            toread[i_track].b_ok = false;
            continue;
        }
}}}
while trying to verify where is the problem in my vlc binary, .mp4 + srt 
formatted text file played from network share without a problem.

compiled with gcc-4.4.0 perhaps this is the issue in the AVI demuxer or 
core...? Another problem using gcc4.4.0 is where all the numbers 
wouldn't be displayed correctly in the log is this the same issue? for 
example where number would be displayed like this "subtitle debug: Movie 
fps: G.090706"

and it should be "subtitle debug: Movie fps: 23.976000"

Opened avi success, a file from the Windows Network share from
\\192.168.0.100\path\to\the\avi\filename.avi

Inside that directory there's utf8 text files in srt format see the log 
messages.


if without the text file loading is fine.


{{{
aout_directx debug: OpenAudio
main debug: Buffering 2%
avi warning: failed reading data
main debug: Buffering 5%
avi warning: failed reading data
main debug: Buffering 8%
avi warning: failed reading data
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: Realtek AC97 Audio
main debug: Buffering 11%
avi warning: failed reading data
main debug: Buffering 13%
avi warning: failed reading data
main debug: Buffering 16%
avi warning: failed reading data
main debug: Buffering 19%
}}}
Weird that it is working fine when accessed on not through the network 
share, and works fine also in the nb...

Please comment if anyone have more info about this.



More information about the vlc-devel mailing list