mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
--- a/libav.h
|
||||
+++ b/libav.h
|
||||
@@ -167,7 +167,7 @@
|
||||
static inline int
|
||||
lav_is_thumbnail_stream(AVStream *s, uint8_t **data, int *size)
|
||||
{
|
||||
-#if LIBAVFORMAT_VERSION_INT >= ((54<<16)+(6<<8))
|
||||
+/*if LIBAVFORMAT_VERSION_INT >= ((54<<16)+(6<<8))
|
||||
if (s->disposition & AV_DISPOSITION_ATTACHED_PIC &&
|
||||
s->codec->codec_id == AV_CODEC_ID_MJPEG)
|
||||
{
|
||||
@@ -177,6 +177,6 @@
|
||||
*size = s->attached_pic.size;
|
||||
return 1;
|
||||
}
|
||||
-#endif
|
||||
+endif*/
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -19,9 +19,9 @@
|
||||
|
||||
SUBDIRS=po
|
||||
|
||||
-sbin_PROGRAMS = minidlnad
|
||||
+sbin_PROGRAMS = minidlna
|
||||
check_PROGRAMS = testupnpdescgen
|
||||
-minidlnad_SOURCES = minidlna.c upnphttp.c upnpdescgen.c upnpsoap.c \
|
||||
+minidlna_SOURCES = minidlna.c upnphttp.c upnpdescgen.c upnpsoap.c \
|
||||
upnpreplyparse.c minixml.c clients.c \
|
||||
getifaddr.c process.c upnpglobalvars.c \
|
||||
options.c minissdp.c uuid.c upnpevents.c \
|
||||
@@ -38,7 +38,7 @@
|
||||
flacoggflag = -logg
|
||||
#endif
|
||||
|
||||
-minidlnad_LDADD = \
|
||||
+minidlna_LDADD = \
|
||||
@LIBJPEG_LIBS@ \
|
||||
@LIBID3TAG_LIBS@ \
|
||||
@LIBSQLITE3_LIBS@ \
|
||||
@@ -49,7 +49,7 @@
|
||||
@LIBICONV@ \
|
||||
-lFLAC $(flacoggflag) $(vorbisflag)
|
||||
|
||||
-minidlnad_LDFLAGS = @STATIC_LDFLAGS@
|
||||
+minidlna_LDFLAGS = @STATIC_LDFLAGS@
|
||||
|
||||
testupnpdescgen_SOURCES = testupnpdescgen.c upnpdescgen.c
|
||||
testupnpdescgen_LDADD = \
|
||||
Reference in New Issue
Block a user