diff options
author | jstebbins <[email protected]> | 2010-04-10 01:10:15 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-04-10 01:10:15 +0000 |
commit | c6c3b33558aa505e6c44c988154ab253a895d1e3 (patch) | |
tree | 5c0641a9c5f962b52a49e8c079e38d88f86500f5 /libhb/deccc608sub.c | |
parent | 34d7b7d5daef1d22ab8061ebb46fea5a27a4c8fd (diff) |
fix some mingw warnings and a mingw build issue
mingw gcc-4.5 has linker issues against shared libstdc++
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3217 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/deccc608sub.c')
-rw-r--r-- | libhb/deccc608sub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/deccc608sub.c b/libhb/deccc608sub.c index 2f1374943..de8a6462e 100644 --- a/libhb/deccc608sub.c +++ b/libhb/deccc608sub.c @@ -1500,7 +1500,7 @@ void write_cc_line_as_transcript (struct eia608_screen *data, struct s_write *wb buffer->start = wb->data608->current_visible_start_ms; buffer->stop = get_fts(wb); memcpy( buffer->data, wb->subline, length + 1 ); - //hb_log("CC %lld: %s", buffer->stop, wb->subline); + //hb_log("CC %"PRId64": %s", buffer->stop, wb->subline); if (wb->hb_last_buffer) { wb->hb_last_buffer->next = buffer; @@ -1684,7 +1684,7 @@ int write_cc_buffer_as_sami (struct eia608_screen *data, struct s_write *wb) LLONG endms = get_fts(wb)+subs_delay; endms--; // To prevent overlapping with next line. - sprintf ((char *) str,"<SYNC start=\"%llu\"><P class=\"UNKNOWNCC\">\r\n",startms); + sprintf ((char *) str,"<SYNC start=\"%"PRIu64"\"><P class=\"UNKNOWNCC\">\r\n",startms); if (debug_608 && encoding!=ENC_UNICODE) { hb_log ("\r%s\n", str); @@ -1722,7 +1722,7 @@ int write_cc_buffer_as_sami (struct eia608_screen *data, struct s_write *wb) wb->enc_buffer_used=encode_line (wb->enc_buffer,(unsigned char *) str); fwrite (wb->enc_buffer,wb->enc_buffer_used,1,wb->fh); XMLRPC_APPEND(wb->enc_buffer,wb->enc_buffer_used); - sprintf ((char *) str,"<SYNC start=\"%llu\"><P class=\"UNKNOWNCC\"> </P></SYNC>\r\n\r\n",endms); + sprintf ((char *) str,"<SYNC start=\"%"PRIu64"\"><P class=\"UNKNOWNCC\"> </P></SYNC>\r\n\r\n",endms); if (debug_608 && encoding!=ENC_UNICODE) { hb_log ("\r%s\n", str); |