Commit b5c0d68d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Kill warnings.

parent 25bf450c
...@@ -192,8 +192,7 @@ static inline int ps_pkt_id( block_t *p_pkt ) ...@@ -192,8 +192,7 @@ static inline int ps_pkt_id( block_t *p_pkt )
{ {
/* ISO 13818 amendment 2 and SMPTE RP 227 */ /* ISO 13818 amendment 2 and SMPTE RP 227 */
const uint8_t i_flags = p_pkt->p_buffer[7]; const uint8_t i_flags = p_pkt->p_buffer[7];
int i_skip = 9; unsigned int i_skip = 9;
/* Find PES extension */ /* Find PES extension */
if( (i_flags & 0x80 ) ) if( (i_flags & 0x80 ) )
...@@ -341,7 +340,7 @@ static inline int ps_pkt_parse_system( block_t *p_pkt, ps_psm_t *p_psm, ...@@ -341,7 +340,7 @@ static inline int ps_pkt_parse_system( block_t *p_pkt, ps_psm_t *p_psm,
static inline int ps_pkt_parse_pes( block_t *p_pes, int i_skip_extra ) static inline int ps_pkt_parse_pes( block_t *p_pes, int i_skip_extra )
{ {
uint8_t header[30]; uint8_t header[30];
int i_skip = 0; unsigned int i_skip = 0;
memcpy( header, p_pes->p_buffer, __MIN( p_pes->i_buffer, 30 ) ); memcpy( header, p_pes->p_buffer, __MIN( p_pes->i_buffer, 30 ) );
......
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