summaryrefslogtreecommitdiffstats
path: root/libmpdemux/ebml.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/ebml.c')
-rw-r--r--libmpdemux/ebml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/ebml.c b/libmpdemux/ebml.c
index 166c5df5cd..28b4a4643a 100644
--- a/libmpdemux/ebml.c
+++ b/libmpdemux/ebml.c
@@ -612,9 +612,9 @@ static void ebml_parse_element(struct ebml_parse_ctx *ctx, void *target,
strptr->len = length;
if (ed->type == EBML_TYPE_STR)
mp_msg(MSGT_DEMUX, MSGL_DBG2, "string \"%.*s\"\n",
- strptr->len, strptr->start);
+ BSTR_P(*strptr));
else
- mp_msg(MSGT_DEMUX, MSGL_DBG2, "binary %d bytes\n",
+ mp_msg(MSGT_DEMUX, MSGL_DBG2, "binary %zd bytes\n",
strptr->len);
break;