[DVDnav-discuss] assertion failure with certain DVD's

Erik Hovland erik at hovland.org
Wed Nov 30 19:32:15 CET 2011


On Wed, Nov 30, 2011 at 10:22 AM, Erik Hovland <erik at hovland.org> wrote:
>> I get the following assertion playing the "Tangled" DVD with mplayer
>> and an up to date libdvdnav, on windows:
>>
>> Assertion failed: (vm->state).pgc->cell_playback[(vm->state).cellN -
>> 1].block_mode != 0, file libdvdnav/vm/vm.c, line 1141
>>
>> The weird part about this is that in mac/linux, I get this error
>> message, and no failed assertion, and playing continues:
>> libdvdnav: Invalid angle block
>>
>> I'd be happy to send more information, or a (legal) DVD to keep, for
>> any developer that would like to tackle it.
>
> See that STRICT cpp macro in vm.c? It is probably accidentally
> set on Windows because of a namespace clash. If that is the
> case, that is the first bug to fix.

Does the attached patch at least make it so that mplayer
behaves the same on all platforms?

Thanks

E

-- 
Erik Hovland
erik at hovland.org
http://hovland.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Prevent-general-CPP-macro-from-causing-strange-behav.patch
Type: text/x-patch
Size: 1565 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20111130/025360ec/attachment.bin>


More information about the DVDnav-discuss mailing list