diff options
author | James Dong <jdong@google.com> | 2011-07-12 09:28:17 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-07-12 09:35:40 -0700 |
commit | 5a5f9d636ed6c116993c6cad5abdad7a734992e8 (patch) | |
tree | 5810d32bd5d743162b37f021571c24cd3124c007 /include/media/stagefright | |
parent | a5a0cea84cdf116f4de4f812c26be73e70a260e6 (diff) | |
download | frameworks_av-5a5f9d636ed6c116993c6cad5abdad7a734992e8.zip frameworks_av-5a5f9d636ed6c116993c6cad5abdad7a734992e8.tar.gz frameworks_av-5a5f9d636ed6c116993c6cad5abdad7a734992e8.tar.bz2 |
Make MetadataBufferType.h C-friendly
Change-Id: I4388d8f6cf30f08858aec73aa971647feae4a5e3
Diffstat (limited to 'include/media/stagefright')
-rw-r--r-- | include/media/stagefright/MetadataBufferType.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/stagefright/MetadataBufferType.h b/include/media/stagefright/MetadataBufferType.h index 275c19f..52a3257 100644 --- a/include/media/stagefright/MetadataBufferType.h +++ b/include/media/stagefright/MetadataBufferType.h @@ -17,7 +17,11 @@ #ifndef METADATA_BUFFER_TYPE_H #define METADATA_BUFFER_TYPE_H +#ifdef __cplusplus +extern "C" { namespace android { +#endif + /* * MetadataBufferType defines the type of the metadata buffers that * can be passed to video encoder component for encoding, via Stagefright @@ -72,6 +76,9 @@ typedef enum { } MetadataBufferType; +#ifdef __cplusplus } // namespace android +} +#endif #endif // METADATA_BUFFER_TYPE_H |