hb_error( "Invalid shift sequence" );
} else if ( ( retval == -1 ) && ( errno == EILSEQ ) )
{
- hb_error( "Invalid byte for codeset in input, %d bytes discarded",
- in_size);
+ hb_error( "Invalid byte for codeset in input, %"PRId64" bytes discarded", (int64_t)in_size);
} else if ( ( retval == -1 ) && ( errno == E2BIG ) )
{
hb_error( "Not enough space in output buffer");
if( !( start_time > pv->start_time && stop_time < pv->stop_time ) )
{
- hb_deep_log( 3, "Discarding SRT at time start %lld, stop %lld", start_time, stop_time);
+ hb_deep_log( 3, "Discarding SRT at time start %"PRId64", stop %"PRId64, start_time, stop_time);
memset( &pv->current_entry, 0, sizeof( srt_entry_t ) );
++(pv->number_of_entries);
pv->current_state = k_state_timecode;
retval = 0;
}
- hb_deep_log( 3, "SRT Start time %lld, stop time %lld", pv->start_time, pv->stop_time);
+ hb_deep_log( 3, "SRT Start time %"PRId64", stop time %"PRId64, pv->start_time, pv->stop_time);
pv->iconv_context = iconv_open( "utf8", pv->subtitle->config.src_codeset );
*buf_in = NULL;
*buf_out = out;
} else {
- printf("\nSRT Done\n");
*buf_out = NULL;
return HB_WORK_OK;
}