Index: source/libvpx/vp9/encoder/vp9_svc_layercontext.c |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_svc_layercontext.c (revision 291087) |
+++ source/libvpx/vp9/encoder/vp9_svc_layercontext.c (working copy) |
@@ -69,8 +69,8 @@ |
lc->gold_ref_idx = -1; |
} |
- lrc->buffer_level = vp9_rescale((int)(oxcf->starting_buffer_level_ms), |
- lc->target_bandwidth, 1000); |
+ lrc->buffer_level = oxcf->starting_buffer_level_ms * |
+ lc->target_bandwidth / 1000; |
lrc->bits_off_target = lrc->buffer_level; |
} |