summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_viv.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-22 02:33:28 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-22 02:33:28 +0000
commitd483a015a2bbca2aec8a287c0ff6eeb0f176a8bb (patch)
tree8f1d76f283da6022022a35e300c30faf93e71e83 /libmpdemux/demux_viv.c
parent61c5a99851ea41449a513619dd68791c93e30ef3 (diff)
downloadmpv-d483a015a2bbca2aec8a287c0ff6eeb0f176a8bb.tar.bz2
mpv-d483a015a2bbca2aec8a287c0ff6eeb0f176a8bb.tar.xz
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_viv.c')
-rw-r--r--libmpdemux/demux_viv.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libmpdemux/demux_viv.c b/libmpdemux/demux_viv.c
index 353b0ec12d..9ca575a6c0 100644
--- a/libmpdemux/demux_viv.c
+++ b/libmpdemux/demux_viv.c
@@ -222,10 +222,8 @@ static void vivo_parse_text_header(demuxer_t *demux, int header_len)
}
int vivo_check_file(demuxer_t* demuxer){
- int flags=0;
int i=0;
int len;
- int len2;
int c;
unsigned char buf[2048+256];
vivo_priv_t* priv;
@@ -310,8 +308,8 @@ int demux_vivo_fill_buffer(demuxer_t *demux){
#warning "Calculate PTS from picture header!"
prefix = 1;
c = stream_read_char(demux->stream);
- printf("packet 0x82(pos=%lu) chunk=%x\n",
- stream_tell(demux->stream), c);
+ printf("packet 0x82(pos=%u) chunk=%x\n",
+ (int)stream_tell(demux->stream), c);
}
switch(c&0xF0){
case 0x00: // header - skip it!
@@ -618,7 +616,7 @@ void demux_open_vivo(demuxer_t* demuxer){
/* disable seeking */
demuxer->seekable = 0;
- printf("VIVO Video stream %d size: display: %dx%d, codec: %lux%lu\n",
+ printf("VIVO Video stream %d size: display: %dx%d, codec: %ux%u\n",
demuxer->video->id, sh->disp_w, sh->disp_h, sh->bih->biWidth,
sh->bih->biHeight);
}