ref: 063099b946db68da3db1406483b8169ccbc3dfcf
parent: 59d54efc058e23c417e51d7b739c9d5e03a037de
author: robs <robs>
date: Wed Aug 20 13:07:29 EDT 2008
quash warnings on 64-bit arch
--- a/src/effects.c
+++ b/src/effects.c
@@ -384,8 +384,8 @@
unsigned f;
if ((clips = sox_stop_effect(effp)) != 0)
- sox_warn("%s clipped %u samples; decrease volume?",
- effp->handler.name, clips);
+ sox_warn("%s clipped %lu samples; decrease volume?",
+ effp->handler.name, (unsigned long)clips);
for (f = 0; f < effp->flows; ++f)
{
effp[f].handler.kill(&effp[f]);
--- a/src/ffmpeg.c
+++ b/src/ffmpeg.c
@@ -458,7 +458,11 @@
if (!(ffmpeg->fmt->flags & AVFMT_NOFILE)) {
/* close the output file */
+#if (LIBAVFORMAT_VERSION_INT < 0x340000)
url_fclose(&ffmpeg->ctxt->pb);
+#else
+ url_fclose(ffmpeg->ctxt->pb);
+#endif
}
/* Free the output context */