[FFmpeg-devel] [PATCH] lavf/xwma: fix incorrect format specifier

Moritz Barsnick barsnick at gmx.net
Mon Jan 30 22:22:41 EET 2017


Signed-off-by: Moritz Barsnick <barsnick at gmx.net>
---
 libavformat/xwma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/xwma.c b/libavformat/xwma.c
index df84d25..9235157 100644
--- a/libavformat/xwma.c
+++ b/libavformat/xwma.c
@@ -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
-- 
2.7.4



More information about the ffmpeg-devel mailing list