[vlc-devel] help!!!
    Yan Lu 
    yan.lu at innovonics.net
       
    Mon May  8 07:37:38 CEST 2006
    
    
  
Hi 
 
I'm new to VLC, and I am currently developing input & demux modules for
playing video stream that is encoded by IME6400. I got crash during
decoding. I have
constructed PES using: 
es_format_Init( &fmt, VIDEO_ES, VLC_FOURCC( 'm', 'p', '4', 'v' ) );
 
sended PES to decoder using   
p_pkt->i_dts = p_sys->i_dts;
p_pkt->i_pts = 0;
es_out_Send( p_demux->out, p_sys->v_es, p_pkt );
 
But I have got segmentation fault as such:
Program received signal SIGFPE, Arithmetic exception.
[Switching to thread 5444.0xbf0]
0x008bcf61 in __divdi3 () at ../../include/vlc_meta.h:112
112     }
Current language:  auto; currently c++
(gdb) bt
#0  0x008bcf61 in __divdi3 () at ../../include/vlc_meta.h:112
#1  0x0061a81b in decode_vop_header (s=0x1a728e0, gb=0x1a74458) at
h263.c:5858
#2  0x00756356 in ff_h263_decode_frame (avctx=0x1a70e20, data=0x1a71110,
data_size=0x1105fefc,
    buf=0x1afc810 "", buf_size=3403) at h263dec.c:493
#3  0x005fa6f5 in avcodec_decode_video (avctx=0x1a70e20, picture=0x1a71110,
    got_picture_ptr=0x1105fefc, buf=0x1afc810 "", buf_size=3403) at
utils.c:621
#4  0x00495724 in DecodeVideo__ffmpeg (p_dec=0x1a709f0, pp_block=0x1105ff6c)
at video.c:504
#5  0x00455d85 in DecoderDecode (p_dec=0x1a709f0, p_block=0x1afba08) at
src/input/decoder.c:666
#6  0x00455bbb in DecoderThread (p_dec=0x1a709f0) at src/input/decoder.c:488
#7  0x77c3a3b0 in msvcrt!_endthreadex () from
/cygdrive/c/WINDOWS/system32/msvcrt.dll
#8  0x01a709f0 in ?? ()
#9  0x003e0198 in ?? ()
#10 0x01a85058 in ?? ()
#11 0x01a9d810 in ?? ()
#12 0x00000000 in ?? () from
 
Anyone could help, and tell me where I am doing wrong?
 
Thanks in Advance
 
Yan
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060508/589de34e/attachment.html>
    
    
More information about the vlc-devel
mailing list