Browse Source

- libdvbsi: remove obsolete patch; code is upstream now

master
vanhofen 7 years ago
parent
commit
10258d3d25
  1. 25
      archive-patches/libdvbsi++-fix-sectionLength-check.patch
  2. 1
      make/system-libs.mk

25
archive-patches/libdvbsi++-fix-sectionLength-check.patch

@ -1,25 +0,0 @@
>From 47578127ccfed131eb4586ce48a568b7aed0e9b9 Mon Sep 17 00:00:00 2001
From: [CST] Focus <focus.cst@gmail.com>
Date: Thu, 1 Mar 2012 13:37:55 +0400
Subject: [PATCH] src/time_date_section.cpp: fix sectionLength check
---
src/time_date_section.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/time_date_section.cpp b/src/time_date_section.cpp
index 63e24dd..f71ff42 100644
--- a/src/time_date_section.cpp
+++ b/src/time_date_section.cpp
@@ -15,7 +15,7 @@
TimeAndDateSection::TimeAndDateSection(const uint8_t * const buffer) : ShortSection(buffer)
{
- if (sectionLength > 8) {
+ if (sectionLength >= 5) {
utcTimeMjd = UINT16(&buffer[3]);
utcTimeBcd = (buffer[5] << 16) | UINT16(&buffer[6]);
}
--
1.7.1

1
make/system-libs.mk

@ -65,7 +65,6 @@ $(D)/libdvbsi: | $(TARGET_DIR)
$(REMOVE)/libdvbsi++
git clone git://github.com/OpenDMM/libdvbsi-.git $(BUILD_TMP)/libdvbsi++
cd $(BUILD_TMP)/libdvbsi++; \
$(PATCH)/libdvbsi++-fix-sectionLength-check.patch; \
$(PATCH)/libdvbsi++-content_identifier_descriptor.patch; \
$(CONFIGURE) \
--prefix= \

Loading…
Cancel
Save