summaryrefslogtreecommitdiff
path: root/src/demuxers/ebml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/ebml.c')
-rw-r--r--src/demuxers/ebml.c14
1 files changed, 7 insertions, 7 deletions
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;
}