Go to file
andrew@webrtc.org d72262dc01 Fix compile errors in ViE with latest clang.
Rolling to the latest Chromium picks up a new clang, which catches a fresh error:

error: 'reinterpret_cast' to class 'webrtc::VideoEngineImpl *' from its base at non-zero offset 'webrtc::VideoEngine *' behaves differently from 'static_cast' [-Werror,-Wreinterpret-base-class]
 VideoEngineImpl* vie_impl = reinterpret_cast<VideoEngineImpl*>(video_engine);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../webrtc/video_engine/vie_codec_impl.cc:36:31: note: use 'static_cast' to adjust the pointer correctly while downcasting
  VideoEngineImpl* vie_impl = reinterpret_cast<VideoEngineImpl*>(video_engine);
                              ^~~~~~~~~~~~~~~~
                              static_cast

This was triggered by André's change here:
https://code.google.com/p/webrtc/source/detail?r=3986
which made VideoEngineImpl a derived class of VideoEngine (good).

Picked up one other error as well:
error: implicit conversion from 'long' to 'int' changes value from 9223372036854775807 to -1 [-Werror,-Wconstant-conversion]
        AutoTestSleep(std::numeric_limits<long>::max());
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This fixes the errors and is required before stable can be rolled in Chromium.

TBR=mflodman,andresp

Review URL: https://webrtc-codereview.appspot.com/1450004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3989 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-09 02:12:07 +00:00
data ADM no longer reads PCM files from data/audio_device. Now uses the resource folder instead. 2012-08-20 09:44:59 +00:00
samples/js Added new demo states.html & updated existing demos to work on firefox. 2013-04-25 23:22:03 +00:00
third_party Fix gflags compile error on x86 Android 2013-04-02 11:07:04 +00:00
tools Tweaked webrtc_reformat. 2013-05-08 13:56:23 +00:00
webrtc Fix compile errors in ViE with latest clang. 2013-05-09 02:12:07 +00:00
.gitignore Add /tools/protoc_wrappers to .gitignore. 2013-05-08 18:51:07 +00:00
android-webrtc.mk Changed a flag in ARM build for platform build. 2012-09-08 00:32:59 +00:00
Android.mk Added buildbot benchmarking in iSAC and APM into Android platform build. 2012-12-07 15:26:28 +00:00
AUTHORS BUG=1351 2013-04-23 11:57:56 +00:00
codereview.settings Add a root codereview.settings file. 2013-04-24 02:08:50 +00:00
DEPS Update protoc.gypi to match Chromium's latest. 2013-05-07 23:19:58 +00:00
libvpx.mk Change android makefile to reflect recent file structure change 2011-07-13 17:49:49 +00:00
LICENSE Updated license path in LICENSE and LICENSE_THIRD_PARTY. 2012-11-22 12:06:21 +00:00
license_template.txt Update template to follow chromium copyright style 2013-04-24 01:01:28 +00:00
LICENSE_THIRD_PARTY Updated license path in LICENSE and LICENSE_THIRD_PARTY. 2012-11-22 12:06:21 +00:00
OWNERS Android NDK build tools 2013-02-11 17:43:19 +00:00
PATENTS Add references to src/ copies for LICENSE etc. 2011-10-26 01:05:07 +00:00
PRESUBMIT.py Added maxlen=80 to CheckLongLines() call in PRESUBMIT.py 2013-04-08 15:46:07 +00:00
WATCHLISTS Add self to video_engine watchlist. 2013-04-30 22:20:53 +00:00
webrtc.gyp Add trace printouts to all unit tests. 2013-03-22 17:13:23 +00:00