[vlc-commits] stream_filter: smooth: fix warnings for non bw adapt mode
Francois Cartegnie
git at videolan.org
Tue Oct 28 13:48:42 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 27 22:43:57 2014 +0100| [d3d3cfceff05755e1b62325ae4c9568cd57d20ad] | committer: Francois Cartegnie
stream_filter: smooth: fix warnings for non bw adapt mode
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d3d3cfceff05755e1b62325ae4c9568cd57d20ad
---
modules/stream_filter/smooth/downloader.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/stream_filter/smooth/downloader.c b/modules/stream_filter/smooth/downloader.c
index 4e43b5b..2bfb536 100644
--- a/modules/stream_filter/smooth/downloader.c
+++ b/modules/stream_filter/smooth/downloader.c
@@ -149,8 +149,10 @@ static int sms_Download( stream_t *s, chunk_t *chunk, char *url )
#ifdef DISABLE_BANDWIDTH_ADAPTATION
static unsigned BandwidthAdaptation( stream_t *s,
- sms_stream_t *sms, uint64_t *bandwidth )
+ sms_stream_t *sms, uint64_t bandwidth )
{
+ VLC_UNUSED(bandwidth);
+ VLC_UNUSED(s);
return sms->download_qlvl;
}
#else
More information about the vlc-commits
mailing list