diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2005-11-28 12:24:56 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2005-11-28 12:24:56 +0000 |
commit | 29889061262a94aeb8871b185b29a1699f55af63 (patch) | |
tree | 5ce0740455e3e6051dbf726abb090165f8abfcec /src/input/input_pvr.c | |
parent | e9ad6a71dbf9f5f0b1e249ad7969afa1fd8665ba (diff) | |
download | xine-lib-29889061262a94aeb8871b185b29a1699f55af63.tar.gz xine-lib-29889061262a94aeb8871b185b29a1699f55af63.tar.bz2 |
*BUGFIX*
Improved cross-compiling: detect and precedence of the host-specific libs
W32dll: enabled by platforms as originaly, user can override it
Fixed shell errors in the Makefile of the hackersguide
Detect the place of SDL header independently on platform
Fixed spelling in CDDA, include the header sys/param.h if available
Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD)
CVS patchset: 7815
CVS date: 2005/11/28 12:24:56
Diffstat (limited to 'src/input/input_pvr.c')
-rw-r--r-- | src/input/input_pvr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_pvr.c b/src/input/input_pvr.c index 1445f8a6d..5fd44a0c0 100644 --- a/src/input/input_pvr.c +++ b/src/input/input_pvr.c @@ -38,7 +38,7 @@ * usage: * xine pvr:/<prefix_to_tmp_files>\!<prefix_to_saved_files>\!<max_page_age> * - * $Id: input_pvr.c,v 1.56 2005/10/14 21:02:16 miguelfreitas Exp $ + * $Id: input_pvr.c,v 1.57 2005/11/28 12:24:57 valtri Exp $ */ /************************************************************************** @@ -646,7 +646,7 @@ static int pvr_rec_file(pvr_input_plugin_t *this) { pos = (off_t)(this->rec_blk - this->page_block[this->rec_page]) * PVR_BLOCK_SIZE; if( lseek (this->rec_fd, pos, SEEK_SET) != pos ) { xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "input_pvr: error setting position for writing %lld\n", pos); + "input_pvr: error setting position for writing %" PRIdMAX "\n", (intmax_t)pos); return 0; } if( this->rec_fd != -1 ) { @@ -772,7 +772,7 @@ static int pvr_play_file(pvr_input_plugin_t *this, fifo_buffer_t *fifo, uint8_t pos = (off_t)(this->play_blk - this->page_block[this->play_page]) * PVR_BLOCK_SIZE; if( lseek (this->play_fd, pos, SEEK_SET) != pos ) { xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "input_pvr: error setting position for reading %lld\n", pos); + "input_pvr: error setting position for reading %" PRIdMAX "\n", (intmax_t)pos); return 0; } if( read(this->play_fd, buffer, PVR_BLOCK_SIZE) < PVR_BLOCK_SIZE ) { |