summaryrefslogtreecommitdiffstats
path: root/include/ndk/NdkMediaFormat.h
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-05-15 14:17:25 -0700
committerMarco Nelissen <marcone@google.com>2014-05-15 14:41:20 -0700
commite419d7cd5c62b4b5866a45d59c5770bb470193c1 (patch)
treeeaabdbe6d72e7be1ceb0b1907784083db848c674 /include/ndk/NdkMediaFormat.h
parent3425fd5a55dd31e261d2f2a9590c762d6d0a6b79 (diff)
downloadframeworks_av-e419d7cd5c62b4b5866a45d59c5770bb470193c1.zip
frameworks_av-e419d7cd5c62b4b5866a45d59c5770bb470193c1.tar.gz
frameworks_av-e419d7cd5c62b4b5866a45d59c5770bb470193c1.tar.bz2
Unify error/status codes
Change-Id: Ib90cc2f2adc07ff146256931c92c0ec4becb86f5
Diffstat (limited to 'include/ndk/NdkMediaFormat.h')
-rw-r--r--include/ndk/NdkMediaFormat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ndk/NdkMediaFormat.h b/include/ndk/NdkMediaFormat.h
index e0caeab..ab29791 100644
--- a/include/ndk/NdkMediaFormat.h
+++ b/include/ndk/NdkMediaFormat.h
@@ -29,6 +29,8 @@
#include <sys/types.h>
+#include "NdkMediaError.h"
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -37,7 +39,7 @@ struct AMediaFormat;
typedef struct AMediaFormat AMediaFormat;
AMediaFormat *AMediaFormat_new();
-int AMediaFormat_delete(AMediaFormat*);
+media_status_t AMediaFormat_delete(AMediaFormat*);
/**
* Human readable representation of the format. The returned string is owned by the format,