1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a compiler warning

This commit is contained in:
Klaus Schmidinger 2022-11-30 14:38:46 +01:00
parent 30f05ba714
commit f2b9f0e8dd
2 changed files with 8 additions and 4 deletions

View File

@ -9815,3 +9815,7 @@ Video Disk Recorder Revision History
(reported by Stefan Herdler). (reported by Stefan Herdler).
- Added missing rounding when dividing frequencies in processing the NIT (thanks to - Added missing rounding when dividing frequencies in processing the NIT (thanks to
Winfried Köhler). Winfried Köhler).
2022-11-30:
- Fixed a compiler warning.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: remux.c 5.4 2022/11/22 11:35:37 kls Exp $ * $Id: remux.c 5.5 2022/11/30 14:38:46 kls Exp $
*/ */
#include "remux.h" #include "remux.h"
@ -1333,7 +1333,7 @@ int cMpeg2Parser::Parse(const uchar *Data, int Length, int Pid)
seenScanType = true; seenScanType = true;
if (debug) { if (debug) {
cString s = cString::sprintf("MPEG2: %d x %d%c %.2f fps", frameWidth, frameHeight, progressive ? 'p' : 'i', framesPerSecond); cString s = cString::sprintf("MPEG2: %d x %d%c %.2f fps", frameWidth, frameHeight, progressive ? 'p' : 'i', framesPerSecond);
dsyslog(s); dsyslog("%s", *s);
dbgframes("\n%s", *s); dbgframes("\n%s", *s);
} }
} }
@ -1607,7 +1607,7 @@ void cH264Parser::ParseSequenceParameterSet(void)
} }
if (debug) { if (debug) {
cString s = cString::sprintf("H.264: %d x %d%c %.2f fps %d Bit", frameWidth, frameHeight, progressive ? 'p':'i', framesPerSecond, bitDepth); cString s = cString::sprintf("H.264: %d x %d%c %.2f fps %d Bit", frameWidth, frameHeight, progressive ? 'p':'i', framesPerSecond, bitDepth);
dsyslog(s); dsyslog("%s", *s);
dbgframes("\n%s", *s); dbgframes("\n%s", *s);
} }
} }
@ -1908,7 +1908,7 @@ void cH265Parser::ParseSequenceParameterSet(void)
} }
if (debug) { if (debug) {
cString s = cString::sprintf("H.265: %d x %d%c %.2f fps %d Bit", frameWidth, frameHeight, progressive ? 'p':'i', framesPerSecond, bitDepth); cString s = cString::sprintf("H.265: %d x %d%c %.2f fps %d Bit", frameWidth, frameHeight, progressive ? 'p':'i', framesPerSecond, bitDepth);
dsyslog(s); dsyslog("%s", *s);
dbgframes("\n%s", *s); dbgframes("\n%s", *s);
} }
} }