[FFmpeg-cvslog] lavc: use correct type for printf() argument
wm4
git at videolan.org
Tue Apr 14 21:53:17 CEST 2015
ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Tue Apr 14 21:24:34 2015 +0200| [95f524aff513cbb6af4acb7d88fc52bf50efc349] | committer: Michael Niedermayer
lavc: use correct type for printf() argument
This was passing uint32_t for %d.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=95f524aff513cbb6af4acb7d88fc52bf50efc349
---
libavcodec/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index d2b8631..fe435fd 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -2600,7 +2600,7 @@ int attribute_align_arg avcodec_decode_audio4(AVCodecContext *avctx,
av_log(avctx, AV_LOG_WARNING, "Could not update timestamps for discarded samples.\n");
}
av_log(avctx, AV_LOG_DEBUG, "discard %d/%d samples\n",
- discard_padding, frame->nb_samples);
+ (int)discard_padding, frame->nb_samples);
frame->nb_samples -= discard_padding;
}
}
More information about the ffmpeg-cvslog
mailing list