diff --git a/mpegaudio/mpegaudioframestream.cpp b/mpegaudio/mpegaudioframestream.cpp index 4ae5e4e..9568598 100644 --- a/mpegaudio/mpegaudioframestream.cpp +++ b/mpegaudio/mpegaudioframestream.cpp @@ -3,6 +3,8 @@ #include "../exceptions.h" #include "../mediaformat.h" +#include + #include using namespace std; @@ -69,7 +71,8 @@ void MpegAudioFrameStream::internalParseHeader(Diagnostics &diag, AbortableProgr std::uint32_t xingSize = frame.xingBytesfield(); if (m_size && xingSize != m_size) { diag.emplace_back(DiagLevel::Warning, - "Real length of MPEG audio frames is not in accordance with value provided by Xing header. The Xing header value will be used.", + argsToString("Real length of MPEG audio frames (", m_size, " byte) is not in accordance with value provided by Xing header (", + xingSize, " byte). The Xing header value will be used."), context); m_size = xingSize; }