diff options
author | Lajos Molnar <lajos@google.com> | 2015-04-17 13:46:19 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2015-04-17 13:46:43 -0700 |
commit | ee4e1b1a63758941460ae79a064249d3a5189443 (patch) | |
tree | d27f03a73170da9cce96b6eae5b2ecd874eace22 /media/libstagefright/httplive | |
parent | 2170233c49e50f3986cdc4f726016d6003cb5b8e (diff) | |
download | frameworks_av-ee4e1b1a63758941460ae79a064249d3a5189443.zip frameworks_av-ee4e1b1a63758941460ae79a064249d3a5189443.tar.gz frameworks_av-ee4e1b1a63758941460ae79a064249d3a5189443.tar.bz2 |
stagefright: warnings be gone, some are now errors, use clang
Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
Diffstat (limited to 'media/libstagefright/httplive')
-rw-r--r-- | media/libstagefright/httplive/Android.mk | 1 | ||||
-rw-r--r-- | media/libstagefright/httplive/LiveSession.h | 2 | ||||
-rw-r--r-- | media/libstagefright/httplive/PlaylistFetcher.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/media/libstagefright/httplive/Android.mk b/media/libstagefright/httplive/Android.mk index 93b7935..a30be66 100644 --- a/media/libstagefright/httplive/Android.mk +++ b/media/libstagefright/httplive/Android.mk @@ -13,6 +13,7 @@ LOCAL_C_INCLUDES:= \ $(TOP)/frameworks/native/include/media/openmax LOCAL_CFLAGS += -Werror +LOCAL_CLANG := true LOCAL_SHARED_LIBRARIES := \ libbinder \ diff --git a/media/libstagefright/httplive/LiveSession.h b/media/libstagefright/httplive/LiveSession.h index 86d0498..56cd702 100644 --- a/media/libstagefright/httplive/LiveSession.h +++ b/media/libstagefright/httplive/LiveSession.h @@ -30,7 +30,7 @@ namespace android { struct ABuffer; struct AReplyToken; struct AnotherPacketSource; -struct DataSource; +class DataSource; struct HTTPBase; struct IMediaHTTPService; struct LiveDataSource; diff --git a/media/libstagefright/httplive/PlaylistFetcher.h b/media/libstagefright/httplive/PlaylistFetcher.h index bb14a0d..95de9c3 100644 --- a/media/libstagefright/httplive/PlaylistFetcher.h +++ b/media/libstagefright/httplive/PlaylistFetcher.h @@ -27,7 +27,7 @@ namespace android { struct ABuffer; struct AnotherPacketSource; -struct DataSource; +class DataSource; struct HTTPBase; struct LiveDataSource; struct M3UParser; |