summaryrefslogtreecommitdiffstats
path: root/include/ndk/NdkMediaFormat.h
diff options
context:
space:
mode:
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,