]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vqavideo.c
Merge commit 'c778eb15b89d875cb246b18f65b3b4321cb1e7d6'
[ffmpeg] / libavcodec / vqavideo.c
index 81d50bb5a4f8db832b3f22589bb36883fb52d5b1..0e70be1000a1f45a1b84671966bffb3ca6c53f83 100644 (file)
@@ -384,12 +384,8 @@ static int vqa_decode_chunk(VqaContext *s, AVFrame *frame)
             break;
 
         default:
-            av_log(s->avctx, AV_LOG_ERROR, "Found unknown chunk type: %c%c%c%c (%08X)\n",
-            (chunk_type >> 24) & 0xFF,
-            (chunk_type >> 16) & 0xFF,
-            (chunk_type >>  8) & 0xFF,
-            (chunk_type >>  0) & 0xFF,
-            chunk_type);
+            av_log(s->avctx, AV_LOG_ERROR, "Found unknown chunk type: %s (%08X)\n",
+                   av_fourcc2str(av_bswap32(chunk_type)), chunk_type);
             break;
         }