summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2012-06-22 22:23:30 +0300
committerTorsten Jager <t.jager@gmx.de>2012-06-22 22:23:30 +0300
commit0b831c053e03fe9c76fc7e4347f9101c19c38a50 (patch)
treee78fb76e62a31bdaf358598c3d5fc6696e598e55 /src
parenta883646cf3d01e2ce7b39932ffc775ce795a0538 (diff)
downloadxine-lib-0b831c053e03fe9c76fc7e4347f9101c19c38a50.tar.gz
xine-lib-0b831c053e03fe9c76fc7e4347f9101c19c38a50.tar.bz2
add missing string termination
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/buffer_types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xine-engine/buffer_types.c b/src/xine-engine/buffer_types.c
index 31ee4443a..53f748378 100644
--- a/src/xine-engine/buffer_types.c
+++ b/src/xine-engine/buffer_types.c
@@ -1286,6 +1286,7 @@ static void code_to_text (char ascii[5], uint32_t code)
ascii[i] = (byte < ' ') ? ' ' : (byte >= 0x7F) ? '.' : (char) byte;
code >>= 8;
}
+ ascii[4] = 0;
}
void _x_report_video_fourcc (xine_t *xine, const char *module, uint32_t code)