OSDN Git Service

lavf/xwma: fix incorrect format specifier
authorMoritz Barsnick <barsnick@gmx.net>
Mon, 30 Jan 2017 20:22:41 +0000 (21:22 +0100)
committerPaul B Mahol <onemda@gmail.com>
Tue, 31 Jan 2017 09:42:14 +0000 (10:42 +0100)
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
libavformat/xwma.c

index df84d25..9235157 100644 (file)
@@ -87,7 +87,7 @@ static int xwma_read_header(AVFormatContext *s)
      */
     if (st->codecpar->codec_id != AV_CODEC_ID_WMAV2 &&
         st->codecpar->codec_id != AV_CODEC_ID_WMAPRO) {
-        avpriv_request_sample(s, "Unexpected codec (tag 0x04%x; id %d)",
+        avpriv_request_sample(s, "Unexpected codec (tag 0x%04x; id %d)",
                               st->codecpar->codec_tag, st->codecpar->codec_id);
     } else {
         /* In all xWMA files I have seen, there is no extradata. But the WMA