shithub: libvpx

Download patch

ref: aeae7fc9034ce47233c989a628e42273308154ec
parent: d2a953e02b3bf3e058187be3d73152dc6545b89a
author: Alex Converse <[email protected]>
date: Tue Sep 29 14:49:21 EDT 2015

Change dynamic_cast to static_cast to fix no-rtti build

Change-Id: Iad73b490b171cdda5c368ada69fb8eab2a86c156

--- a/test/active_map_refresh_test.cc
+++ b/test/active_map_refresh_test.cc
@@ -72,7 +72,7 @@
   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);