diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-04 08:49:24 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-04 08:49:24 +0000 |
commit | 8e2bc40df5001ccef88f1b5b756d33fbc2fcab46 (patch) | |
tree | 2cad2bd222f32ae23978afe3c5ef01f89be3da2c /stream | |
parent | eeec36107df98a6a4204faef31f42a45ef0875a9 (diff) |
print the disc_id without using a buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22430 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvd.c | 6 |
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"); } } /** |