[MPlayer-users] Bug: SIGSEGV while trying to play .ogg
Sebastian Krämer
spambouncer at skraemer.de
Sat Jun 17 17:34:40 CEST 2006
Reimar Döffinger wrote:
> Hi,
> On Sat, Jun 17, 2006 at 02:46:11PM +0200, Sebastian Kr?mer wrote:
>> Savchenko Andrew wrote:
>>> Recent version MPlayer dev-SVN-r18739-4.0.2 crashes when trying to play
>>> any ogg file. Here is gdb output of mplayer -v file.ogg:
>> I can confirm that crash. Here's the gdb run:
>
> No idea what (i.e. which patch) caused this, but it should be fixed.
I know who wrote the line you fixed now. But strangely, it is quite old:
$ svn blame libmpdemux/demux_ogg.c|grep -C 5 ">context)->vi.rate"
11576 mosu if(demuxer->video->id >= 0) {
11576 mosu os = &ogg_d->subs[demuxer->video->id];
11576 mosu rate = os->samplerate;
11576 mosu } else {
11576 mosu os = &ogg_d->subs[demuxer->audio->id];
11576 mosu rate =
(float)((ov_struct_t*)((sh_audio_t*)demuxer->audio->sh)->context)->vi.rate;
11576 mosu }
11576 mosu
11576 mosu
11576 mosu switch(cmd) {
11576 mosu case DEMUXER_CTRL_GET_TIME_LENGTH:
(this was on r18739 of course)
$ svn log -r 11576
------------------------------------------------------------------------
r11576 | mosu | 2003-12-08 10:47:15 +0100 (Mon, 08 Dec 2003) | 2 lines
Get the total length for Ogg files. Patch by Michael Behrisch
<behrisch at informatik.hu-berlin.de>.
(also see: svn diff -r 11468:11576 libmpdemux/demux_ogg.c)
Maybe something else in that context broke it (not being able to play
ogg files couldn't hide for more than 2 years?!). But I thought you
might be interested in that info..
Sebastian
PS: I just checked on the pre8 branch and it plays the file fine..
More information about the MPlayer-users
mailing list