Skip to content

Commit 766ae9b

Browse files
committed
fix comparison
1 parent dfd8257 commit 766ae9b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

DecoderPluginVLC/vvc_demux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ static int Demux(demux_t* p_demux)
415415

416416
es_out_SetPCR(p_demux->out, date_Get(&p_sys->dts));
417417
unsigned i_nb_frames;
418-
if (p_sys->baseLayerID < 0 || nuhLayerId < p_sys->baseLayerID)
418+
if (p_sys->baseLayerID < 0 || (int)nuhLayerId < p_sys->baseLayerID)
419419
{
420420
p_sys->baseLayerID = nuhLayerId;
421421
}

DecoderPluginVLC/vvc_packetizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ static block_t *ParseNALBlock(decoder_t *p_dec, bool *pb_ts_used, block_t *p_fra
469469
{
470470
p_sys->frame.p_chain->i_flags |= (p_sys->lastTid < 2 )? BLOCK_FLAG_TYPE_P: BLOCK_FLAG_TYPE_B;
471471
// Starting new frame: return previous frame data for output
472-
if (p_sys->baseLayerID < 0 || nuhLayerId < p_sys->baseLayerID)
472+
if (p_sys->baseLayerID < 0 || (int)nuhLayerId < p_sys->baseLayerID)
473473
{
474474
p_sys->baseLayerID = nuhLayerId;
475475
}

0 commit comments

Comments
 (0)