summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMamadou DIOP <bossiel@yahoo.fr>2015-08-18 21:09:40 +0200
committerMamadou DIOP <bossiel@yahoo.fr>2015-08-18 21:09:40 +0200
commit0fb460ca837e2348c162654d9d0ab7e4665ca2ad (patch)
tree675e33bcb47745d684cfed317f93b8076ef29233
parentb8f790dd584edc8b6c798bf83ae2fb6a25f7da1f (diff)
downloaddoubango-0fb460ca837e2348c162654d9d0ab7e4665ca2ad.zip
doubango-0fb460ca837e2348c162654d9d0ab7e4665ca2ad.tar.gz
-
-rw-r--r--tinyDAV/src/codecs/vpx/tdav_codec_vp8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyDAV/src/codecs/vpx/tdav_codec_vp8.c b/tinyDAV/src/codecs/vpx/tdav_codec_vp8.c
index 2c097e4..5ed2f80 100644
--- a/tinyDAV/src/codecs/vpx/tdav_codec_vp8.c
+++ b/tinyDAV/src/codecs/vpx/tdav_codec_vp8.c
@@ -164,7 +164,7 @@ static int tdav_codec_vp8_set(tmedia_codec_t* self, const tmedia_param_t* param)
else {
TMEDIA_CODEC(vp8)->bandwidth_max_upload = max_bw_new;
}
- vp8->encoder.cfg.rc_target_bitrate = TSK_CLAMP(0, vp8->encoder.cfg.rc_target_bitrate, TMEDIA_CODEC(vp8)->bandwidth_max_upload);
+ vp8->encoder.cfg.rc_target_bitrate = TSK_CLAMP(0, (unsigned int)vp8->encoder.cfg.rc_target_bitrate, (unsigned int)TMEDIA_CODEC(vp8)->bandwidth_max_upload);
TSK_DEBUG_INFO("New target bitrate = %d kbps", vp8->encoder.cfg.rc_target_bitrate);
reconf = tsk_true;
}
OpenPOWER on IntegriCloud