summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2015-04-17 16:15:53 -0700
committerLajos Molnar <lajos@google.com>2015-04-17 16:16:27 -0700
commit6d339f1f764bbd32e3381dae7bfa7c6c575bb493 (patch)
tree3b29d455c9f3ac73327a0117d2bc18d8b199a265 /include
parentee4e1b1a63758941460ae79a064249d3a5189443 (diff)
downloadframeworks_av-6d339f1f764bbd32e3381dae7bfa7c6c575bb493.zip
frameworks_av-6d339f1f764bbd32e3381dae7bfa7c6c575bb493.tar.gz
frameworks_av-6d339f1f764bbd32e3381dae7bfa7c6c575bb493.tar.bz2
libmediaplayerservice: fix warnings, make warnings errors, use clang
Change-Id: I1b2f6b65c5abbc366068a60b8909104f31b94228
Diffstat (limited to 'include')
-rw-r--r--include/media/MediaCodecInfo.h2
-rw-r--r--include/media/stagefright/MediaCodecSource.h2
-rw-r--r--include/media/stagefright/foundation/AMessage.h2
-rw-r--r--include/media/stagefright/foundation/AString.h2
-rw-r--r--include/media/stagefright/timedtext/TimedTextDriver.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/include/media/MediaCodecInfo.h b/include/media/MediaCodecInfo.h
index 895a13a..4067b47 100644
--- a/include/media/MediaCodecInfo.h
+++ b/include/media/MediaCodecInfo.h
@@ -32,7 +32,7 @@
namespace android {
struct AMessage;
-struct Parcel;
+class Parcel;
struct CodecCapabilities;
typedef KeyedVector<AString, AString> CodecSettings;
diff --git a/include/media/stagefright/MediaCodecSource.h b/include/media/stagefright/MediaCodecSource.h
index 7b8f59d..9d1f222 100644
--- a/include/media/stagefright/MediaCodecSource.h
+++ b/include/media/stagefright/MediaCodecSource.h
@@ -23,7 +23,7 @@
namespace android {
-class ALooper;
+struct ALooper;
class AMessage;
struct AReplyToken;
class IGraphicBufferProducer;
diff --git a/include/media/stagefright/foundation/AMessage.h b/include/media/stagefright/foundation/AMessage.h
index 4c6bd21..83b9444 100644
--- a/include/media/stagefright/foundation/AMessage.h
+++ b/include/media/stagefright/foundation/AMessage.h
@@ -28,7 +28,7 @@ namespace android {
struct ABuffer;
struct AHandler;
struct AString;
-struct Parcel;
+class Parcel;
struct AReplyToken : public RefBase {
AReplyToken(const sp<ALooper> &looper)
diff --git a/include/media/stagefright/foundation/AString.h b/include/media/stagefright/foundation/AString.h
index 822dbb3..2f6d532 100644
--- a/include/media/stagefright/foundation/AString.h
+++ b/include/media/stagefright/foundation/AString.h
@@ -24,7 +24,7 @@
namespace android {
class String8;
-struct Parcel;
+class Parcel;
struct AString {
AString();
diff --git a/include/media/stagefright/timedtext/TimedTextDriver.h b/include/media/stagefright/timedtext/TimedTextDriver.h
index 37ef674..6f7c693 100644
--- a/include/media/stagefright/timedtext/TimedTextDriver.h
+++ b/include/media/stagefright/timedtext/TimedTextDriver.h
@@ -24,7 +24,7 @@
namespace android {
-class ALooper;
+struct ALooper;
struct IMediaHTTPService;
class MediaPlayerBase;
class MediaSource;