[FFmpeg-devel] [PATCH 2/5] lavc: use correct type for printf() argument
wm4
nfxjfg at googlemail.com
Tue Apr 14 21:24:34 CEST 2015
This was passing uint32_t for %d.
---
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;
}
}
--
2.1.4
More information about the ffmpeg-devel
mailing list