[Mplayer-cvslog] CVS: main mplayer.c,1.603,1.604

pl p_l at gmx.fr
Sat Oct 26 21:05:45 CEST 2002


* Arpi <arpi at thot.banki.hu> [2002-10-26 16:52]:

> > -      if(osd_level){
> > +      if(osd_level && sh_video){
> 
> nonsense, as osd_level is always set to 0 if sh_video==NULL !

Apparently it's not correctly set, hence the segfault.

$ gdb mplayer
...
run 1.mp3 2.mp3
...
[hit next song]
[hit increase volume
...
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
Video: no video!!!
Start playing...
A:   0.7  1.3% 0%   
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 777)]
0x08079307 in main (argc=3, argv=0xbffff914) at mplayer.c:1974
1974            osd_visible=sh_video->fps; // 1 sec
(gdb) p osd_level
$1 = 1
(gdb) p sh_video
$2 = (sh_video_t *) 0x0
(gdb) 
...

-- 
Best regards,
  pl



More information about the MPlayer-cvslog mailing list