diff options
author | 2005-05-12 23:12:27 +0000 | |
---|---|---|
committer | 2005-05-12 23:12:27 +0000 | |
commit | 15ba9851405af7ae1fb7f5ffdd4049630574445e (patch) | |
tree | 69d32a9e41eab8893172f2e7b9b59ff84b0becb3 | |
parent | da2a598d9dda8659d0ccf413200cdc5222dc0d0d (diff) |
fixed too few parameters to mp_msg(); silence compilation warnings, removed unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15424 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_ogg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c index 046a97ad1d..58c6d24034 100644 --- a/libmpdemux/demux_ogg.c +++ b/libmpdemux/demux_ogg.c @@ -754,14 +754,14 @@ static inline unsigned int store_ughvlc(unsigned char *s, unsigned int v) static void fixup_vorbis_wf(sh_audio_t *sh) { - int i, k, offset; + int i, offset; ogg_packet op[3]; unsigned char *buf[3]; unsigned char *ptr; for(i = 0; i < 3; i++) { op[i].bytes = ds_get_packet(sh->ds, &(op[i].packet)); - mp_msg(MSGT_DEMUX,MSGL_V, "fixup_vorbis_wf: i=%d, size=%d\n", i, op[i].bytes); + mp_msg(MSGT_DEMUX,MSGL_V, "fixup_vorbis_wf: i=%d, size=%ld\n", i, op[i].bytes); if(op[i].bytes < 0) { mp_msg(MSGT_DEMUX,MSGL_ERR,"Ogg demuxer error!, fixup_vorbis_wf: bad packet n. %d\n", i); return; @@ -778,11 +778,11 @@ static void fixup_vorbis_wf(sh_audio_t *sh) ptr[0] = 2; offset = 1; offset += store_ughvlc(&ptr[offset], op[0].bytes); - mp_msg(MSGT_DEMUX,MSGL_V,"demux_ogg, offset after 1st len = %d\n", offset); + mp_msg(MSGT_DEMUX,MSGL_V,"demux_ogg, offset after 1st len = %u\n", offset); offset += store_ughvlc(&ptr[offset], op[1].bytes); - mp_msg(MSGT_DEMUX,MSGL_V,"demux_ogg, offset after 2nd len = %d\n", offset); + mp_msg(MSGT_DEMUX,MSGL_V,"demux_ogg, offset after 2nd len = %u\n", offset); for(i = 0; i < 3; i++) { - mp_msg(MSGT_DEMUX,MSGL_V,"demux_ogg, i=%d\n", op[i].bytes, offset, i); + mp_msg(MSGT_DEMUX,MSGL_V,"demux_ogg, i=%d, bytes: %ld, offset: %u\n", i, op[i].bytes, offset); memcpy(&ptr[offset], buf[i], op[i].bytes); offset += op[i].bytes; } |