Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3fd320da authored by Robert Shih's avatar Robert Shih
Browse files

NdkMediaExtractor: remove `disconnect` from NDK headers

Bug: 63934228
Change-Id: I74f0564bb75dffb934931d0e5f1d34b17916f2b8
parent 64da2228
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -31,6 +31,18 @@
#include <media/stagefright/foundation/AMessage.h>
#include <utils/Errors.h>

// TODO: remove forward declaration when AMediaExtractor_disconnect is offcially added to NDK

#ifdef __cplusplus
extern "C" {
#endif

media_status_t AMediaExtractor_disconnect(AMediaExtractor *);

#ifdef __cplusplus
} // extern "C"
#endif

namespace android {

static const size_t kAESBlockSize = 16;  // AES_BLOCK_SIZE
+0 −6
Original line number Diff line number Diff line
@@ -216,12 +216,6 @@ media_status_t AMediaExtractor_getSampleFormat(AMediaExtractor *ex, AMediaFormat

#endif /* __ANDROID_API__ >= 28 */

#if __ANDROID_API__ >= 29

media_status_t AMediaExtractor_disconnect(AMediaExtractor *ex);

#endif /* __ANDROID_API__ >= 29 */

#endif /* __ANDROID_API__ >= 21 */

__END_DECLS