From: Alex Converse Date: Wed, 30 Sep 2015 01:49:21 +0000 (-0700) Subject: Change dynamic_cast to static_cast to fix no-rtti build X-Git-Tag: v1.5.0~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aeae7fc9034ce47233c989a628e42273308154ec;p=libvpx Change dynamic_cast to static_cast to fix no-rtti build Change-Id: Iad73b490b171cdda5c368ada69fb8eab2a86c156 --- diff --git a/test/active_map_refresh_test.cc b/test/active_map_refresh_test.cc index 0402523c9..c94566143 100644 --- a/test/active_map_refresh_test.cc +++ b/test/active_map_refresh_test.cc @@ -72,7 +72,7 @@ class ActiveMapRefreshTest virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video, ::libvpx_test::Encoder *encoder) { ::libvpx_test::Y4mVideoSource *y4m_video = - dynamic_cast(video); + static_cast(video); if (video->frame() == 1) { encoder->Control(VP8E_SET_CPUUSED, cpu_used_); encoder->Control(VP9E_SET_AQ_MODE, kAqModeCyclicRefresh);