[Libav-user] custom av_log callback receiving incorrect format specifiers from h264 module

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Dec 19 03:05:31 EET 2016


2016-12-18 22:42 GMT+01:00 Blake Senftner <bsenftner at earthlink.net>:
> I want to ask about my implementation of an av_log callback, as I am
> getting crashes from an “incorrect format specifier” delivered from the
> “h264” module. The specific format string causing the crash is “error
> while decoding MB %d %d, bytestream %td\n”.

> (Is the “t” size modifier valid in Visual Studio?)

(No, as you found out.)
The more important question is if "Id" is a valid modifier in mingw, no?

It is possible that you found out it is impossible to use mingw
libraries in VS with this callback, I don't know.
In any case, you can compile FFmpeg in VS to avoid this issue.

Carl Eugen


More information about the Libav-user mailing list