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

Submitted by Moritz Barsnick on Jan. 30, 2017, 8:22 p.m.

Details

Message ID 1485807761-30470-1-git-send-email-barsnick@gmx.net
State Accepted
Commit 0478728db02d685050244440aa29f4895b8cfabb
Headers show

Commit Message

Moritz Barsnick Jan. 30, 2017, 8:22 p.m.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
---
 libavformat/xwma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul B Mahol Jan. 31, 2017, 9:46 a.m.
On 1/30/17, Moritz Barsnick <barsnick@gmx.net> wrote:
> Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
> ---
>  libavformat/xwma.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

applied

Patch hide | download patch | download mbox

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