summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/Utils.cpp
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-12-13 12:57:26 -0800
committerSteve Kondik <steve@cyngn.com>2015-12-13 13:16:01 -0800
commit715a22fefe8118d07370a95b48135607ba5fb956 (patch)
tree030ec9c9a8ed481a91a0ee5096003ca8f751a03e /media/libstagefright/Utils.cpp
parent0c19cf7478f4dc10f2739bf6eefa1887a79b48cf (diff)
downloadframeworks_av-715a22fefe8118d07370a95b48135607ba5fb956.zip
frameworks_av-715a22fefe8118d07370a95b48135607ba5fb956.tar.gz
frameworks_av-715a22fefe8118d07370a95b48135607ba5fb956.tar.bz2
stagefright: Finish support for HEVC muxing
* Forward-port CAF L-MR1 code to fill in stubs. Change-Id: I6c07e803ad4fe3ef5286f61667b5ca11380db984
Diffstat (limited to 'media/libstagefright/Utils.cpp')
-rw-r--r--media/libstagefright/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/Utils.cpp b/media/libstagefright/Utils.cpp
index 3164c9e..a50d02d 100644
--- a/media/libstagefright/Utils.cpp
+++ b/media/libstagefright/Utils.cpp
@@ -74,7 +74,7 @@ uint64_t hton64(uint64_t x) {
return ((uint64_t)htonl(x & 0xffffffff) << 32) | htonl(x >> 32);
}
-static status_t copyNALUToABuffer(sp<ABuffer> *buffer, const uint8_t *ptr, size_t length) {
+status_t copyNALUToABuffer(sp<ABuffer> *buffer, const uint8_t *ptr, size_t length) {
if (((*buffer)->size() + 4 + length) > ((*buffer)->capacity() - (*buffer)->offset())) {
sp<ABuffer> tmpBuffer = new (std::nothrow) ABuffer((*buffer)->size() + 4 + length + 1024);
if (tmpBuffer.get() == NULL || tmpBuffer->base() == NULL) {