Mercurial > libdvdnav.hg
view Makefile.am @ 433:1c7c804e9c82 src
Prevent general CPP macro from causing strange behavior.
Roger Pack reported that when playing the DVD "Tangled"
w/ mplayer and recent libdvdnav, mplayer crashes w/ the error message:
Assertion failed: (vm->state).pgc->cell_playback[(vm->state).cellN - 1].block_mode != 0, file libdvdnav/vm/vm.c, line 1141
This line should only be triggered when a developer wants a "strict"
build of the library. Most likely using the very general term
STRICT to #ifdef this clause is what is causing this issue. This
patch adds a DVDNAV_ in front of the strict to prevent the
macro from being enabled accidentally.
Patch by Erik Hovland.
author | rathann |
---|---|
date | Sun, 06 Oct 2013 20:54:43 +0000 |
parents | 9c5aef10d165 |
children |
line wrap: on
line source
include $(top_srcdir)/misc/Makefile.common SUBDIRS = vm includedir = ${prefix}/include/dvdnav AM_CPPFLAGS = $(THREAD_CFLAGS) $(DVDREAD_CFLAGS) \ -I$(top_srcdir)/src/vm EXTRA_DIST = README.MAP FELLOWSHIP.map lib_LTLIBRARIES = libdvdnav.la libdvdnavmini.la libdvdnav_la_SOURCES = dvdnav.c \ read_cache.c navigation.c highlight.c \ searching.c settings.c remap.c \ dvdnav_internal.h read_cache.h remap.h libdvdnav_la_LIBADD = $(THREAD_LIBS) $(DVDREAD_LIBS) \ $(top_builddir)/src/vm/libdvdvm.la libdvdnav_la_LDFLAGS = \ -version-info $(DVDNAV_LT_CURRENT):$(DVDNAV_LT_REVISION):$(DVDNAV_LT_AGE) \ -export-symbols-regex "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)" # -release $(DVDNAV_MAJOR).$(DVDNAV_MINOR).$(DVDNAV_SUB) libdvdnavmini_la_SOURCES = $(libdvdnav_la_SOURCES) libdvdnavmini_la_LIBADD = $(THREAD_LIBS) \ $(top_builddir)/src/vm/libdvdvm.la libdvdnavmini_la_LDFLAGS = $(libdvdnav_la_LDFLAGS) include_HEADERS = dvdnav/dvdnav.h dvdnav/dvdnav_events.h dvdnav/dvd_types.h