# HG changeset patch
# User Torsten Jager <t.jager@gmx.de>
# Date 1340393010 -10800
# Node ID 9d3b5d153ef8c8b80b5f6a672b63ac22c3eaa7fd
# Parent  1fa1bacc5f2f5222c9d75348b713da64d4686a1c
add missing string termination

diff --git a/src/xine-engine/buffer_types.c b/src/xine-engine/buffer_types.c
--- 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],
     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)
