summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_viv.c
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-12 20:04:36 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-12 20:04:36 +0000
commit2601de41209ebed1abf2e577e109056fbe9d1211 (patch)
tree3334f5e9eaa592f7f2552257bd4cf085590a2e66 /libmpdemux/demux_viv.c
parentb0beff56ac92032ffeff5116138d5d380a8b1c06 (diff)
downloadmpv-2601de41209ebed1abf2e577e109056fbe9d1211.tar.bz2
mpv-2601de41209ebed1abf2e577e109056fbe9d1211.tar.xz
massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_viv.c')
-rw-r--r--libmpdemux/demux_viv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmpdemux/demux_viv.c b/libmpdemux/demux_viv.c
index ac70989d3e..3beaddf2aa 100644
--- a/libmpdemux/demux_viv.c
+++ b/libmpdemux/demux_viv.c
@@ -113,8 +113,8 @@ static void vivo_parse_text_header(demuxer_t *demux, int header_len)
header_len -= strlen(token)+2;
if (sscanf(token, "%[^:]:%[^\n]", opt, param) != 2)
{
- mp_msg(MSGT_DEMUX, MSGL_V, "viv_text_header_parser: bad line: '%s' at ~%p\n",
- token, stream_tell(demux->stream));
+ mp_msg(MSGT_DEMUX, MSGL_V, "viv_text_header_parser: bad line: '%s' at ~%#"PRIx64"\n",
+ token, (int64_t)stream_tell(demux->stream));
break;
}
mp_dbg(MSGT_DEMUX, MSGL_DBG3, "token: '%s' (%d bytes/%d bytes left)\n",
@@ -364,8 +364,8 @@ static int demux_vivo_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){
audio_pos+=len;
break;
default:
- mp_msg(MSGT_DEMUX,MSGL_WARN,"VIVO - unknown ID found: %02X at pos %lu contact author!\n",
- c, stream_tell(demux->stream));
+ mp_msg(MSGT_DEMUX,MSGL_WARN,"VIVO - unknown ID found: %02X at pos %"PRIu64" contact author!\n",
+ c, (int64_t)stream_tell(demux->stream));
return 0;
}