From 5f8947c21dab2cc66e23cf5a2d96511e0fd0b5c8 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sun, 8 Aug 2010 02:56:11 +0000 Subject: VIDEO: Use tag2str svn-id: r51927 --- graphics/video/coktel_decoder.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp index 951000c6d4..2fa0e3cd38 100644 --- a/graphics/video/coktel_decoder.cpp +++ b/graphics/video/coktel_decoder.cpp @@ -1679,10 +1679,8 @@ bool VMDDecoder::assessVideoProperties() { warning("VMDDecoder::assessVideoProperties(): Indeo3 decoder not compiled in"); #endif } else { - char *fourcc = (char *) &_videoCodec; - - warning("VMDDecoder::assessVideoProperties(): Unknown video codec FourCC \'%c%c%c%c\'", - fourcc[3], fourcc[2], fourcc[1], fourcc[0]); + warning("VMDDecoder::assessVideoProperties(): Unknown video codec FourCC \"%s\"", + tag2str(_videoCodec)); return false; } } -- cgit v1.2.3