Commit 0c78fd64 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: fix opus signedness/warning

parent 91b66e27
...@@ -2060,7 +2060,7 @@ static block_t *Opus_Parse(demux_t *demux, block_t *block) ...@@ -2060,7 +2060,7 @@ static block_t *Opus_Parse(demux_t *demux, block_t *block)
last = &au->p_next; last = &au->p_next;
au->i_nb_samples = opus_frame_duration(buf, au_size); au->i_nb_samples = opus_frame_duration(buf, au_size);
if (end_trim && end_trim <= au->i_nb_samples) if (end_trim && (uint16_t) end_trim <= au->i_nb_samples)
au->i_length = end_trim; /* Blatant abuse of the i_length field. */ au->i_length = end_trim; /* Blatant abuse of the i_length field. */
else else
au->i_length = 0; au->i_length = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment