freebsd-ports/multimedia/naludump/files/patch-libsi-headers.h
Juergen Lock 658ec3c2ed Add new port multimedia/naludump:
Naludump is a tool to delete NALU fill data from h.264 streams embedded into
TS files. The overall file structure isn't modified, only complete TS packets
of NALU fill data are removed.

Naludump contains lots of code of Klaus Schmidinger's VDR, and is based on
cocepts from Marten Richter's Nalustripper.

Usage:
naludump inputfile.ts [outputfile.ts]

WWW: http://www.udo-richter.de/vdr/naludump.en.html
2014-04-19 23:11:35 +00:00

14 lines
216 B
C++

--- a/libsi/headers.h
+++ b/libsi/headers.h
@@ -17,7 +17,11 @@
#ifndef LIBSI_HEADERS_H
#define LIBSI_HEADERS_H
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#else
#include <endian.h>
+#endif
namespace SI {