diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-01-09 15:21:13 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-01-09 15:21:13 +0100 |
commit | 6121095a300bb5cd8731aefb74bc7b26315ce985 (patch) | |
tree | 2f8f67ecf42386332011b2bb44ac450231ab4730 /remux.c | |
parent | 6773ab35d2e8638b906346b51f678f1090bc0454 (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |