]> granicus.if.org Git - libvpx/commitdiff
Change dynamic_cast to static_cast to fix no-rtti build
authorAlex Converse <aconverse@google.com>
Wed, 30 Sep 2015 01:49:21 +0000 (18:49 -0700)
committerAlex Converse <aconverse@google.com>
Wed, 30 Sep 2015 01:49:21 +0000 (18:49 -0700)
Change-Id: Iad73b490b171cdda5c368ada69fb8eab2a86c156

test/active_map_refresh_test.cc

index 0402523c99e6515f57ef2dd0efd12bd6b37e6f18..c94566143be43d3bb38a241fcc949673b5833086 100644 (file)
@@ -72,7 +72,7 @@ class ActiveMapRefreshTest
   virtual void PreEncodeFrameHook(::libvpx_test::VideoSource *video,
                                   ::libvpx_test::Encoder *encoder) {
     ::libvpx_test::Y4mVideoSource *y4m_video =
-        dynamic_cast<libvpx_test::Y4mVideoSource *>(video);
+        static_cast<libvpx_test::Y4mVideoSource *>(video);
     if (video->frame() == 1) {
       encoder->Control(VP8E_SET_CPUUSED, cpu_used_);
       encoder->Control(VP9E_SET_AQ_MODE, kAqModeCyclicRefresh);