[MPlayer-advusers] sig11 with hardwareframedrop and mpeg12 codec

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Nov 21 11:16:55 CET 2005


Hi,
On Mon, Nov 21, 2005 at 01:28:29AM +0100, Marco Graf wrote:
> The problem is not, that I need hardframedropping, but it's a SIGSEGV
> that shouldn't happen. No problem if mplayer exits normally, but SIGSEGV
> just isn't the right way, right? With ffmpeg I have no problem as you
> expected.

Well, it's just not worth the effort, e.g. you would have to check every
malloc if it fails (e.g. when a size value in a file is mixed up). And
in the end, you still wouldn't know what to do except quitting the
program (though you might just try playing the next file, but that would
make it even more confusing, wouldn't it?).
Of course, anyone fixing libmpeg2 is welcome (as long as it doesn't make
it any slower!), but currently it is just kept because it is so fast -
and if that means it will segfault sometimes, so be it.

Greetings,
Reimar Döffinger




More information about the MPlayer-advusers mailing list