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

Commit dfcc596a authored by Robert Shih's avatar Robert Shih Committed by android-build-merger
Browse files

Merge "NdkMediaExtractor: remove `disconnect` from NDK headers" into pi-dev am: 036e93aa

am: ad33f439

Change-Id: If8cfb5bda48f46e0aa99651657641a9944064f0b
parents 1d37b198 ad33f439
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
@@ -224,12 +224,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