From fc4a7ee8079736923daf0cce6407dec41ce545c6 Mon Sep 17 00:00:00 2001 From: "henrike@webrtc.org" Date: Fri, 30 Nov 2012 16:17:44 +0000 Subject: [PATCH] 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 --- webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc index 9d7367b153..0387225686 100644 --- a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc +++ b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc @@ -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