You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.5 KiB
50 lines
1.5 KiB
From 8e8afa27865e3781c0add1f26bc330d4d6cb92d6 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
|
|
Date: Mon, 14 Dec 2020 12:54:39 +0100
|
|
Subject: [PATCH] Add missing include <limits> to modules/
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
demux/adaptive/playlist/SegmentInformation.cpp
|
|
|
|
Compilation would fail with:
|
|
|
|
> error: 'numeric_limits' is not a member of 'std'
|
|
|
|
without this include with GCC 11.0.0
|
|
|
|
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
|
|
---
|
|
modules/demux/adaptive/playlist/SegmentInformation.cpp | 1 +
|
|
modules/demux/hls/playlist/Parser.cpp | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/modules/demux/adaptive/playlist/SegmentInformation.cpp b/modules/demux/adaptive/playlist/SegmentInformation.cpp
|
|
index c4fe204783..aacc1d7bc1 100644
|
|
--- a/modules/demux/adaptive/playlist/SegmentInformation.cpp
|
|
+++ b/modules/demux/adaptive/playlist/SegmentInformation.cpp
|
|
@@ -34,6 +34,7 @@
|
|
|
|
#include <algorithm>
|
|
#include <cassert>
|
|
+#include <limits>
|
|
|
|
using namespace adaptive::playlist;
|
|
|
|
diff --git a/modules/demux/hls/playlist/Parser.cpp b/modules/demux/hls/playlist/Parser.cpp
|
|
index e2e1aaefe4..5dc889d78f 100644
|
|
--- a/modules/demux/hls/playlist/Parser.cpp
|
|
+++ b/modules/demux/hls/playlist/Parser.cpp
|
|
@@ -42,6 +42,7 @@
|
|
#include <map>
|
|
#include <cctype>
|
|
#include <algorithm>
|
|
+#include <limits>
|
|
|
|
using namespace adaptive;
|
|
using namespace adaptive::playlist;
|
|
--
|
|
2.29.2
|
|
|