aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2010-08-08 02:56:11 +0000
committerSven Hesse2010-08-08 02:56:11 +0000
commit5f8947c21dab2cc66e23cf5a2d96511e0fd0b5c8 (patch)
treeddf5b36102b7e2b2967cd54f3841f4015470d416
parent3016de7197bc3b2d21341ddddf1a7534942c03ff (diff)
downloadscummvm-rg350-5f8947c21dab2cc66e23cf5a2d96511e0fd0b5c8.tar.gz
scummvm-rg350-5f8947c21dab2cc66e23cf5a2d96511e0fd0b5c8.tar.bz2
scummvm-rg350-5f8947c21dab2cc66e23cf5a2d96511e0fd0b5c8.zip
VIDEO: Use tag2str
svn-id: r51927
-rw-r--r--graphics/video/coktel_decoder.cpp6
1 files 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;
}
}