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

examples/get_pcr_pid.c: allow building for Windows 32 platforms.

parent eb446308
...@@ -156,8 +156,13 @@ static void TSHandle( uint8_t *p_ts ) ...@@ -156,8 +156,13 @@ static void TSHandle( uint8_t *p_ts )
if ( !ts_CheckSync( p_ts ) ) if ( !ts_CheckSync( p_ts ) )
{ {
fprintf( stderr, "lost TS synchro, go and fix your file (pos=%ju)\n", fprintf( stderr, "lost TS synchro, go and fix your file "
(uintmax_t)i_ts_read * TS_SIZE ); #if defined(WIN32)
" (pos=%u)\n", (uint32_t) i_ts_read * TS_SIZE
#else
" (pos=%ju)\n", (uintmax_t)i_ts_read * TS_SIZE
#endif
);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
......
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