Mercurial > libdvdnav.hg
annotate vm/Makefile.am @ 438:04cb2d6e4f93 src tip
In vm_new_vm(), use the proper calloc() argument order
.. and don't derive 1 from the unrelated sizeof(char).
Fixes the scan-anaylzer "API violation" warning:
Result of 'calloc' is converted to a pointer of type 'vm_t', which is incompatible with sizeof operand type 'char'
Patch by Fabian Keil <fk AT fabiankeil DOT de>
author | rathann |
---|---|
date | Wed, 04 Dec 2013 23:02:01 +0000 |
parents | bba82ef5d75a |
children |
rev | line source |
---|---|
225 | 1 include $(top_srcdir)/misc/Makefile.common |
2 | |
3 includedir = ${prefix}/include/dvdnav | |
4 | |
381
04e184087151
now autotools use dvdread-config, too. Based on a patch by Dan Nicholson
nicodvb
parents:
379
diff
changeset
|
5 AM_CPPFLAGS = -DDVDNAV_COMPILE $(THREAD_CFLAGS) $(DVDREAD_CFLAGS) \ |
379
5f2ccadb2123
finally removed libdvdread; new build build system temporarily broken: will fix in next commit
nicodvb
parents:
368
diff
changeset
|
6 -I$(top_srcdir)/src |
225 | 7 |
8 noinst_LTLIBRARIES = libdvdvm.la | |
9 | |
10 libdvdvm_la_SOURCES = decoder.c vm.c vmcmd.c | |
11 | |
12 libdvdvm_la_LDFLAGS = $(THREAD_LIBS) | |
13 | |
393 | 14 include_HEADERS = |
225 | 15 |
16 noinst_HEADERS = decoder.h vm.h vmcmd.h |