[FFmpeg-devel] about GET_VLC.

George.Tung dxzk7
Thu Sep 20 11:13:37 CEST 2007


> On 9/20/07, George.Tung  wrote:
>> Hi:
>>
>>     I modified the wma decoder
> 
> Ah, so it's not FFmpeg's code that you're running. You're running you
> homebrew version.
> 
> 
>> and, sometimes the player crashed when I player the *.wma which sample_rate<=44100.
> 
> If you can reproduce the crash with FFmpeg's vanilla sources, maybe
> someone can help you... provided that you follow FFmpeg's bug
> reporting guidelines.
> 
> Guillaume
> -- 

ps:
The wma decoder under MPlayer.

the crash info:
*********
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 167348320 (LWP 7545)]
0x082fe1bf in wma_decode_frame (s=0x9faebc0, samples=0xb7ce6020) at wmadec.c:36
36          GET_VLC(code, re, s, table, vlc->bits, 3)
*********

(gdb) bt (before crashed)
#0  wma_decode_frame (s=0x8e06bc0, samples=0xb7cf1020) at wmadec.c:36
#1  0x082ff503 in wma_decode_superframe (avctx=0x8e05390, data=0xb7cf1020, data_size=0xbff35994, 
    buf=0x8e04470 "\a", buf_size=1920) at wmadec.c:1874
#2  0x0815d74c in avcodec_decode_audio (avctx=0x8e05390, samples=0xb7cf1020, frame_size_ptr=0xbff35994, 
    buf=0x8e04470 "\a", buf_size=1920) at utils.c:971
#3  0x0807fe07 in decode_audio (sh_audio=0x8e027d0, buf=0xb7cf1020 "", minlen=1, maxlen=257536)
    at ad_ffmpeg.c:153
#4  0x0808008a in init (sh_audio=0x8e027d0) at ad_ffmpeg.c:109
#5  0x0807a689 in init_audio_codec (sh_audio=0x8e027d0) at dec_audio.c:93
#6  0x0807a9ee in init_audio (sh_audio=0x8e027d0, codecname=0x0, afm=0x0, status=2) at dec_audio.c:190
#7  0x0807abdd in init_best_audio_codec (sh_audio=0x8e027d0, audio_codec_list=0xbff35ab4, audio_fm_list=0x0)
    at dec_audio.c:235
#8  0x0804c4ea in main (argc=2, argv=0xbff36f84) at mplayer.c:3206
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x082fe1bf in wma_decode_frame (s=0x8e06bc0, samples=0xb7cf1020) at wmadec.c:36
36          GET_VLC(code, re, s, table, vlc->bits, 3)
(gdb) bt  (after crashed)
#0  0x082fe1bf in wma_decode_frame (s=0x8e06bc0, samples=0xb7cf1020) at wmadec.c:36
#1  0x082ff503 in wma_decode_superframe (avctx=0x8e05390, data=0xb7cf1020, data_size=0xbff35994, 
    buf=0x8e04470 "\a", buf_size=1920) at wmadec.c:1874
#2  0x0815d74c in avcodec_decode_audio (avctx=0x8e05390, samples=0xb7cf1020, frame_size_ptr=0xbff35994, 
    buf=0x8e04470 "\a", buf_size=1920) at utils.c:971
#3  0x0807fe07 in decode_audio (sh_audio=0x8e027d0, buf=0xb7cf1020 "", minlen=1, maxlen=257536)
    at ad_ffmpeg.c:153
#4  0x0808008a in init (sh_audio=0x8e027d0) at ad_ffmpeg.c:109
#5  0x0807a689 in init_audio_codec (sh_audio=0x8e027d0) at dec_audio.c:93
#6  0x0807a9ee in init_audio (sh_audio=0x8e027d0, codecname=0x0, afm=0x0, status=2) at dec_audio.c:190
#7  0x0807abdd in init_best_audio_codec (sh_audio=0x8e027d0, audio_codec_list=0xbff35ab4, audio_fm_list=0x0)
    at dec_audio.c:235
#8  0x0804c4ea in main (argc=2, argv=0xbff36f84) at mplayer.c:3206
*************

thanks.



More information about the ffmpeg-devel mailing list