summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-01-09 15:21:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2017-01-09 15:21:13 +0100
commit6121095a300bb5cd8731aefb74bc7b26315ce985 (patch)
tree2f8f67ecf42386332011b2bb44ac450231ab4730 /remux.c
parent6773ab35d2e8638b906346b51f678f1090bc0454 (diff)
downloadvdr-6121095a300bb5cd8731aefb74bc7b26315ce985.tar.gz
vdr-6121095a300bb5cd8731aefb74bc7b26315ce985.tar.bz2
Changed 'unsigned' to 'signed' in some places to avoid trouble with abs() in gcc6+
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remux.c b/remux.c
index 2e1bc31f..cb694760 100644
--- a/remux.c
+++ b/remux.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.c 4.3 2016/12/22 12:58:20 kls Exp $
+ * $Id: remux.c 4.4 2017/01/09 15:05:05 kls Exp $
*/
#include "remux.h"
@@ -1629,7 +1629,7 @@ int cFrameDetector::Analyze(const uchar *Data, int Length)
Div += parser->IFrameTemporalReferenceOffset();
if (Div <= 0)
Div = 1;
- uint32_t Delta = ptsValues[0] / Div;
+ int Delta = ptsValues[0] / Div;
// determine frame info:
if (isVideo) {
if (Delta == 3753)