diff options
Diffstat (limited to 'src/demuxers')
-rw-r--r-- | src/demuxers/demux_avi.c | 12 | ||||
-rw-r--r-- | src/demuxers/demux_film.c | 4 | ||||
-rw-r--r-- | src/demuxers/demux_flv.c | 4 | ||||
-rw-r--r-- | src/demuxers/demux_matroska.c | 16 | ||||
-rw-r--r-- | src/demuxers/ebml.c | 14 |
5 files changed, 25 insertions, 25 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c index d61b75e3f..0c3c06ecf 100644 --- a/src/demuxers/demux_avi.c +++ b/src/demuxers/demux_avi.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_avi.c,v 1.216 2005/01/09 20:52:19 tmattern Exp $ + * $Id: demux_avi.c,v 1.217 2005/02/03 07:19:05 valtri Exp $ * * demultiplexer for avi streams * @@ -639,7 +639,7 @@ static int idx_grow(demux_avi_t *this, int (*stopper)(demux_avi_t *, void *), } } if (!valid_chunk) { - xine_log(this->stream->xine, XINE_LOG_MSG, _("demux_avi: invalid avi chunk \"%c%c%c%c\" at pos %" PRIiMAX "\n"), data[0], data[1], data[2], data[3], (intmax_t)chunk_pos); + xine_log(this->stream->xine, XINE_LOG_MSG, _("demux_avi: invalid avi chunk \"%c%c%c%c\" at pos %" PRIdMAX "\n"), data[0], data[1], data[2], data[3], (intmax_t)chunk_pos); } chunk_pos = this->input->seek(this->input, this->idx_grow.nexttagoffset, SEEK_SET); if (chunk_pos != this->idx_grow.nexttagoffset) { @@ -783,7 +783,7 @@ static avi_t *AVI_init(demux_avi_t *this) { this->idx_grow.nexttagoffset = this->input->get_current_pos(this->input); if (this->input->read(this->input, data,8) != 8 ) { - xprintf(this->stream->xine, XINE_VERBOSITY_LOG, "failed to read 8 bytes at pos %" PRIiMAX "\n", (intmax_t)this->idx_grow.nexttagoffset); + xprintf(this->stream->xine, XINE_VERBOSITY_LOG, "failed to read 8 bytes at pos %" PRIdMAX "\n", (intmax_t)this->idx_grow.nexttagoffset); break; /* We assume it's EOF */ } @@ -847,7 +847,7 @@ static avi_t *AVI_init(demux_avi_t *this) { } } if (next_chunk != this->input->seek(this->input, next_chunk, SEEK_SET)) { - xine_log (this->stream->xine, XINE_LOG_MSG, _("demux_avi: failed to seek to the next chunk (pos %" PRIiMAX ")\n"), (intmax_t)next_chunk); + xine_log (this->stream->xine, XINE_LOG_MSG, _("demux_avi: failed to seek to the next chunk (pos %" PRIdMAX ")\n"), (intmax_t)next_chunk); break; /* probably slow seek */ } } @@ -1692,7 +1692,7 @@ static int get_chunk_header(demux_avi_t *this, uint32_t *len, int *audio_stream) return AVI_HEADER_AUDIO; } } - xine_log (this->stream->xine, XINE_LOG_MSG, _("demux_avi: invalid avi chunk \"%c%c%c%c\" at pos %" PRIiMAX "\n"), data[0], data[1], data[2], data[3], (intmax_t)this->input->get_current_pos(this->input)); + xine_log (this->stream->xine, XINE_LOG_MSG, _("demux_avi: invalid avi chunk \"%c%c%c%c\" at pos %" PRIdMAX "\n"), data[0], data[1], data[2], data[3], (intmax_t)this->input->get_current_pos(this->input)); return AVI_HEADER_UNKNOWN; } /* unreachable code */ @@ -2084,7 +2084,7 @@ static int demux_avi_seek_internal (demux_avi_t *this) { */ xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "start pos is %" PRIiMAX ", start time is %d\n", (intmax_t)start_pos, + "start pos is %" PRIdMAX ", start time is %d\n", (intmax_t)start_pos, start_time); /* Seek video. We do a single idx_grow at the beginning rather than diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c index d7a1b8205..428604c71 100644 --- a/src/demuxers/demux_film.c +++ b/src/demuxers/demux_film.c @@ -21,7 +21,7 @@ * For more information on the FILM file format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_film.c,v 1.77 2004/09/17 19:21:34 valtri Exp $ + * $Id: demux_film.c,v 1.78 2005/02/03 07:19:05 valtri Exp $ */ #ifdef HAVE_CONFIG_H @@ -311,7 +311,7 @@ static int open_film_file(demux_film_t *film) { if (film->sample_table[j].pts > largest_pts) largest_pts = film->sample_table[j].pts; - llprintf(DEBUG_FILM_LOAD, "sample %4d @ %8" PRIXMAX ", %8X bytes, %s, pts %lld, duration %lld%s\n", + llprintf(DEBUG_FILM_LOAD, "sample %4d @ %8" PRIxMAX ", %8X bytes, %s, pts %lld, duration %lld%s\n", j, (intmax_t)film->sample_table[j].sample_offset, film->sample_table[j].sample_size, diff --git a/src/demuxers/demux_flv.c b/src/demuxers/demux_flv.c index 3f09d2b73..09a621212 100644 --- a/src/demuxers/demux_flv.c +++ b/src/demuxers/demux_flv.c @@ -24,7 +24,7 @@ * For more information on the FLV file format, visit: * http://download.macromedia.com/pub/flash/flash_file_format_specification.pdf * - * $Id: demux_flv.c,v 1.4 2004/09/17 19:21:34 valtri Exp $ + * $Id: demux_flv.c,v 1.5 2005/02/03 07:19:05 valtri Exp $ */ #ifdef HAVE_CONFIG_H @@ -99,7 +99,7 @@ static int open_flv_file(demux_flv_t *this) { first_offset = BE_32(buffer); this->input->seek(this->input, first_offset, SEEK_SET); - lprintf(" qualified FLV file, repositioned @ offset 0x%" PRIXMAX "\n", + lprintf(" qualified FLV file, repositioned @ offset 0x%" PRIxMAX "\n", (intmax_t)first_offset); return 1; diff --git a/src/demuxers/demux_matroska.c b/src/demuxers/demux_matroska.c index 3da2eac17..5e567b194 100644 --- a/src/demuxers/demux_matroska.c +++ b/src/demuxers/demux_matroska.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_matroska.c,v 1.32 2004/12/13 16:07:43 miguelfreitas Exp $ + * $Id: demux_matroska.c,v 1.33 2005/02/03 07:19:05 valtri Exp $ * * demultiplexer for matroska streams * @@ -1453,7 +1453,7 @@ static int parse_ebml_uint(demux_matroska_t *this, uint8_t *data, uint64_t *num) if (size > 8) { off_t pos = this->input->get_current_pos(this->input); xprintf(this->stream->xine, XINE_VERBOSITY_LOG, - "demux_matroska: Invalid Track Number at position %" PRIiMAX "\n", + "demux_matroska: Invalid Track Number at position %" PRIdMAX "\n", (intmax_t)pos); return 0; } @@ -1507,7 +1507,7 @@ static int read_block_data (demux_matroska_t *this, int len) { if (this->input->read(this->input, this->block_data, len) != len) { off_t pos = this->input->get_current_pos(this->input); xprintf(this->stream->xine, XINE_VERBOSITY_LOG, - "demux_matroska: read error at position %" PRIiMAX "\n", + "demux_matroska: read error at position %" PRIdMAX "\n", (intmax_t)pos); return 0; } @@ -1877,7 +1877,7 @@ static int parse_seek_entry(demux_matroska_t *this) { this->ebml->level = 1; if (this->input->seek(this->input, seek_pos, SEEK_SET) < 0) { xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "demux_matroska: failed to seek to pos: %" PRIiMAX "\n", + "demux_matroska: failed to seek to pos: %" PRIdMAX "\n", (intmax_t)seek_pos); return 0; } @@ -1888,13 +1888,13 @@ static int parse_seek_entry(demux_matroska_t *this) { memcpy(this->ebml, &ebml_bak, sizeof(ebml_parser_t)); /* FIXME */ if (this->input->seek(this->input, current_pos, SEEK_SET) < 0) { xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "demux_matroska: failed to seek to pos: %" PRIiMAX "\n", + "demux_matroska: failed to seek to pos: %" PRIdMAX "\n", (intmax_t)current_pos); return 0; } } else { xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "demux_matroska: out of stream seek pos: %" PRIiMAX "\n", + "demux_matroska: out of stream seek pos: %" PRIdMAX "\n", (intmax_t)seek_pos); } return 1; @@ -2182,7 +2182,7 @@ static void demux_matroska_send_headers (demux_plugin_t *this_gen) { next_level = 1; if (this->input->seek(this->input, this->segment.start, SEEK_SET) < 0) { xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "demux_matroska: failed to seek to pos: %" PRIiMAX "\n", + "demux_matroska: failed to seek to pos: %" PRIdMAX "\n", (intmax_t)this->segment.start); this->status = DEMUX_FINISHED; return; @@ -2202,7 +2202,7 @@ static void demux_matroska_send_headers (demux_plugin_t *this_gen) { next_level = 1; if (this->input->seek(this->input, this->segment.start, SEEK_SET) < 0) { xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG, - "demux_matroska: failed to seek to pos: %" PRIiMAX "\n", + "demux_matroska: failed to seek to pos: %" PRIdMAX "\n", (intmax_t)this->segment.start); this->status = DEMUX_FINISHED; } diff --git a/src/demuxers/ebml.c b/src/demuxers/ebml.c index 1fda69b38..933185400 100644 --- a/src/demuxers/ebml.c +++ b/src/demuxers/ebml.c @@ -20,7 +20,7 @@ * EBML parser * a lot of ideas from the gstreamer parser * - * $Id: ebml.c,v 1.2 2004/09/17 19:21:45 valtri Exp $ + * $Id: ebml.c,v 1.3 2005/02/03 07:19:06 valtri Exp $ * */ #ifdef HAVE_CONFIG_H @@ -107,7 +107,7 @@ static int ebml_read_elem_id(ebml_parser_t *ebml, uint32_t *id) { if (size > 4) { off_t pos = ebml->input->get_current_pos(ebml->input); xprintf(ebml->xine, XINE_VERBOSITY_LOG, - "ebml: invalid EBML ID size (0x%x) at position %" PRIiMAX "\n", + "ebml: invalid EBML ID size (0x%x) at position %" PRIdMAX "\n", data[0], (intmax_t)pos); return 0; } @@ -116,7 +116,7 @@ static int ebml_read_elem_id(ebml_parser_t *ebml, uint32_t *id) { if (ebml->input->read(ebml->input, data + 1, size - 1) != (size - 1)) { off_t pos = ebml->input->get_current_pos(ebml->input); xprintf(ebml->xine, XINE_VERBOSITY_LOG, - "ebml: read error at position %" PRIiMAX "\n", (intmax_t)pos); + "ebml: read error at position %" PRIdMAX "\n", (intmax_t)pos); return 0; } for(i = 1; i < size; i++) { @@ -139,7 +139,7 @@ static int ebml_read_elem_len(ebml_parser_t *ebml, uint64_t *len) { if (ebml->input->read(ebml->input, data, 1) != 1) { off_t pos = ebml->input->get_current_pos(ebml->input); xprintf(ebml->xine, XINE_VERBOSITY_LOG, - "ebml: read error at position %" PRIiMAX "\n", (intmax_t)pos); + "ebml: read error at position %" PRIdMAX "\n", (intmax_t)pos); return 0; } value = data[0]; @@ -152,7 +152,7 @@ static int ebml_read_elem_len(ebml_parser_t *ebml, uint64_t *len) { if (size > 8) { off_t pos = ebml->input->get_current_pos(ebml->input); xprintf(ebml->xine, XINE_VERBOSITY_LOG, - "ebml: Invalid EBML length size (0x%x) at position %" PRIiMAX "\n", + "ebml: Invalid EBML length size (0x%x) at position %" PRIdMAX "\n", data[0], (intmax_t)pos); return 0; } @@ -170,7 +170,7 @@ static int ebml_read_elem_len(ebml_parser_t *ebml, uint64_t *len) { if (ebml->input->read(ebml->input, data + 1, size - 1) != (size - 1)) { off_t pos = ebml->input->get_current_pos(ebml->input); xprintf(ebml->xine, XINE_VERBOSITY_LOG, - "ebml: read error at position %" PRIiMAX "\n", (intmax_t)pos); + "ebml: read error at position %" PRIdMAX "\n", (intmax_t)pos); return 0; } for (i = 1; i < size; i++) { @@ -193,7 +193,7 @@ static int ebml_read_elem_data(ebml_parser_t *ebml, int8_t *buf, int64_t len) { if (ebml->input->read(ebml->input, buf, len) != len) { off_t pos = ebml->input->get_current_pos(ebml->input); xprintf(ebml->xine, XINE_VERBOSITY_LOG, - "ebml: read error at position %" PRIiMAX "\n", (intmax_t)pos); + "ebml: read error at position %" PRIdMAX "\n", (intmax_t)pos); return 0; } |