Commit eeaf18ff authored by Jean-Paul Saman's avatar Jean-Paul Saman

examples/get_pcr_pid.c: fix compiler warning

Fixed compiler warning in function TSHandle(), which passed a 'const uint8_t *' into
dvbpsi_PushPacket() that expected a 'uint8_t *'.
parent 08306998
...@@ -122,7 +122,7 @@ static inline int ts_CheckSync( const uint8_t *p_ts ) ...@@ -122,7 +122,7 @@ static inline int ts_CheckSync( const uint8_t *p_ts )
return p_ts[0] == 0x47; return p_ts[0] == 0x47;
} }
static void TSHandle( const uint8_t *p_ts ) static void TSHandle( uint8_t *p_ts )
{ {
uint16_t i_pid = ts_GetPID( p_ts ); uint16_t i_pid = ts_GetPID( p_ts );
int i; int i;
......
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