mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Silenced a compiler warning with gcc 14.1.0
This commit is contained in:
parent
ec5b1aadab
commit
82b09eaa8e
@ -2842,6 +2842,7 @@ Winfried K
|
||||
for suggesting to add note about not messing with event ids in EPG handlers
|
||||
for adding a missing initialization of cChannel::nameSourceMode
|
||||
for suggesting to make APIVERSION a simple number, independent from VDRVERSION
|
||||
for reporting a compiler warning with gcc 14.1.0
|
||||
|
||||
Hans-Werner Hilse <hilse@web.de>
|
||||
for adding the command line option --userdump to enable core dumps in case VDR
|
||||
|
3
HISTORY
3
HISTORY
@ -9984,7 +9984,7 @@ Video Disk Recorder Revision History
|
||||
version numbering. Version numbers are simply counted upwards, with each of the three
|
||||
parts ("version", "major", "minor") always being a single digit, and '0' being skipped.
|
||||
|
||||
2024-09-14:
|
||||
2024-09-16:
|
||||
|
||||
- Fix for compilers that don't like non-constant format strings (thanks to Stefan Hofmann).
|
||||
- Deprecated code is now marked with [[deprecated]] to issue a compile time warning when
|
||||
@ -9995,3 +9995,4 @@ Video Disk Recorder Revision History
|
||||
APIVERSNUM is now 30003.
|
||||
- Fixed a problem in cSchedule::Sort(), in case hasRunning was true, but there was no event
|
||||
with RunningStatus() >= SI::RunningStatusPausing (reported by Markus Ehrnsperger).
|
||||
- Silenced a compiler warning with gcc 14.1.0 (reported by Winfried Köhler).
|
||||
|
4
remux.c
4
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 5.7 2024/01/23 19:33:45 kls Exp $
|
||||
* $Id: remux.c 5.8 2024/09/16 09:07:12 kls Exp $
|
||||
*/
|
||||
|
||||
#include "remux.h"
|
||||
@ -1743,7 +1743,7 @@ void cH265Parser::ParseSequenceParameterSet(void)
|
||||
uint8_t sub_layer_profile_present_flag[8];
|
||||
uint8_t sub_layer_level_present_flag[8];
|
||||
GetBits(4); // sps_video_parameter_set_id
|
||||
int sps_max_sub_layers_minus1 = GetBits(3); // sps_max_sub_layers_minus1
|
||||
int sps_max_sub_layers_minus1 = GetBits(3) & 7; // sps_max_sub_layers_minus1 ("& 7" to silence a compiler warning with gcc 14.1.0)
|
||||
GetBit(); // sps_temporal_id_nesting_flag
|
||||
// begin profile_tier_level(1, sps_max_sub_layers_minus1)
|
||||
GetByte();
|
||||
|
Loading…
x
Reference in New Issue
Block a user