Mercurial > mplayer.hg
changeset 11576:2c9e2da67647
Fixes for a couple of warnings.
author | mosu |
---|---|
date | Mon, 08 Dec 2003 09:51:10 +0000 |
parents | 0ac7fe8f3af8 |
children | 0645c0fc22bf |
files | libmpdemux/demux_ogg.c libmpdemux/demuxer.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c Mon Dec 08 09:47:15 2003 +0000 +++ b/libmpdemux/demux_ogg.c Mon Dec 08 09:51:10 2003 +0000 @@ -531,7 +531,7 @@ if(index_mode == 2) mp_msg(MSGT_DEMUX,MSGL_INFO,"\n"); if(index_mode == 2) mp_msg(MSGT_DEMUX,MSGL_V,"Ogg syncpoints table builed: %d syncpoints\n",ogg_d->num_syncpoint); - mp_msg(MSGT_DEMUX,MSGL_V,"Ogg stream length: %d\n",ogg_d->final_granulepos); + mp_msg(MSGT_DEMUX,MSGL_V,"Ogg stream length (granulepos): %lld\n",ogg_d->final_granulepos); stream_reset(s); stream_seek(s,demuxer->movi_start);
--- a/libmpdemux/demuxer.c Mon Dec 08 09:47:15 2003 +0000 +++ b/libmpdemux/demuxer.c Mon Dec 08 09:51:10 2003 +0000 @@ -602,6 +602,9 @@ extern int demux_open_mkv(demuxer_t *demuxer); extern int ra_check_file(demuxer_t *demuxer); extern int demux_open_ra(demuxer_t* demuxer); +#ifdef HAVE_MATROSKA +extern int demux_mkv_open(demuxer_t *demuxer); +#endif extern demuxer_t* init_avi_with_ogg(demuxer_t* demuxer); @@ -1183,7 +1186,7 @@ } else { sh_video=d_video->sh;sh_video->ds=d_video; sh_video->fps=1000.0f; sh_video->frametime=0.001f; // 1ms - mp_msg(MSGT_DEMUXER,MSGL_INFO,"VIDEO: [%.4s] %ldx%ld %dbpp\n", + mp_msg(MSGT_DEMUXER,MSGL_INFO,"VIDEO: [%.4s] %dx%d %dbpp\n", (char *)&sh_video->bih->biCompression, sh_video->bih->biWidth, sh_video->bih->biHeight,