lavf: use av_fourcc2str() where appropriate
[ffmpeg.git] / libavformat / westwood_vqa.c
index 3635c6ab36f9d91da4740afe9ada2ceca49b1898..5a54f130a0a6d46c2a9b730eaa9894df5f878a70 100644 (file)
@@ -144,9 +144,8 @@ static int wsvqa_read_header(AVFormatContext *s)
             break;
 
         default:
-            av_log (s, AV_LOG_ERROR, " note: unknown chunk seen (%c%c%c%c)\n",
-                scratch[0], scratch[1],
-                scratch[2], scratch[3]);
+            av_log(s, AV_LOG_ERROR, " note: unknown chunk seen (%s)\n",
+                   av_fourcc2str(chunk_tag));
             break;
         }