aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-03-10 15:35:59 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-11 13:13:41 +0100
commitd92024f18fa3d69937cb2575f3a8bf973df02430 (patch)
treeb3761f3c586916a0685e125bee9b9ed95b25aa25 /libavformat/avidec.c
parent7caf48e036583cd5833f5dc07ab14960dff25e04 (diff)
downloadffmpeg-d92024f18fa3d69937cb2575f3a8bf973df02430.tar.gz
lavf: more correct printf format specifiers
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 6f80d2119a..f48c441ad3 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <stdint.h>
+#include <inttypes.h>
#include "libavutil/avstring.h"
#include "libavutil/bswap.h"
@@ -525,7 +525,7 @@ static int avi_read_header(AVFormatContext *s)
ast->rate = avio_rl32(pb);
if (!(ast->scale && ast->rate)) {
av_log(s, AV_LOG_WARNING,
- "scale/rate is %u/%u which is invalid. "
+ "scale/rate is %"PRIu32"/%"PRIu32" which is invalid. "
"(This file has been generated by broken software.)\n",
ast->scale,
ast->rate);