Browse Source

- libdvbsi: remove obsolete patch; thanky to max10

master
vanhofen 6 years ago
parent
commit
02ecc12d26
  1. 14
      archive-patches/libdvbsi++-fix-descriptorLenghth.patch
  2. 1
      make/system-libs.mk

14
archive-patches/libdvbsi++-fix-descriptorLenghth.patch

@ -1,14 +0,0 @@
diff --git a/src/descriptor.cpp b/src/descriptor.cpp
index 8c914a9..beaf4d7 100644
--- a/src/descriptor.cpp
+++ b/src/descriptor.cpp
@@ -17,6 +17,9 @@ Descriptor::Descriptor(const uint8_t * const buffer)
descriptorTag = buffer[0];
descriptorLength = buffer[1];
+ if (!descriptorLength)
+ descriptorLength = 1;
+
dataBytes.resize(descriptorLength);
memcpy(&dataBytes[0], &buffer[2], descriptorLength);

1
make/system-libs.mk

@ -73,7 +73,6 @@ $(D)/libupnp: $(ARCHIVE)/libupnp-$(LIBUPNP_VER).tar.bz2 | $(TARGET_DIR)
# -----------------------------------------------------------------------------
LIBDVBSI_PATCH = libdvbsi++-content_identifier_descriptor.patch
LIBDVBSI_PATCH += libdvbsi++-fix-descriptorLenghth.patch
$(D)/libdvbsi: | $(TARGET_DIR)
$(REMOVE)/libdvbsi-.git

Loading…
Cancel
Save