summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/stream_dvd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 1541f46c14..fdb960e6eb 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -867,10 +867,10 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
if (DVDDiscID(dvd, discid) >= 0)
{
int i;
- char buf[33];
+ mp_msg(MSGT_IDENTIFY, MSGL_V, "ID_DVD_DISC_ID=");
for (i = 0; i < 16; i ++)
- sprintf(buf+2*i, "%02X", discid[i]);
- mp_msg(MSGT_IDENTIFY, MSGL_V, "ID_DVD_DISC_ID=%s\n", buf);
+ mp_msg(MSGT_IDENTIFY, MSGL_V, "%02X", discid[i]);
+ mp_msg(MSGT_IDENTIFY, MSGL_V, "\n");
}
}
/**