Fixes chromium build bots.
BUG=N/A Review URL: https://webrtc-codereview.appspot.com/971014 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3213 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
c7896df420
commit
fc4a7ee807
@ -157,10 +157,9 @@ int VP8EncoderImpl::InitEncode(const VideoCodec* inst,
|
||||
|
||||
codec_ = *inst;
|
||||
|
||||
#if WEBRTC_LIBVPX_VERSION >= 971
|
||||
int num_temporal_layers = inst->codecSpecific.VP8.numberOfTemporalLayers > 1 ?
|
||||
inst->codecSpecific.VP8.numberOfTemporalLayers : 1;
|
||||
|
||||
#if WEBRTC_LIBVPX_VERSION >= 971
|
||||
assert(temporal_layers_ == NULL);
|
||||
temporal_layers_ = new TemporalLayers(num_temporal_layers);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user