summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/mpeg2ts
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-02-06 20:29:44 -0800
committerColin Cross <ccross@android.com>2014-02-06 20:29:44 -0800
commit94dcc94b16cc6c2a7aa02df2d0d6b8743d738d78 (patch)
tree56cdd5bda1b552f0c2cfc54efa0f44c4848c31ed /media/libstagefright/mpeg2ts
parentd66cd743525cc049033caa3e81cbdf74c72a4556 (diff)
downloadframeworks_av-94dcc94b16cc6c2a7aa02df2d0d6b8743d738d78.zip
frameworks_av-94dcc94b16cc6c2a7aa02df2d0d6b8743d738d78.tar.gz
frameworks_av-94dcc94b16cc6c2a7aa02df2d0d6b8743d738d78.tar.bz2
frameworks/av: fix errors inside ALOGV
Fix errors exposed by adding compile-time checking to disabled ALOGVs. Change-Id: I9602a4a485dffa3caad732c2a19ec0e41a0ac65b
Diffstat (limited to 'media/libstagefright/mpeg2ts')
-rw-r--r--media/libstagefright/mpeg2ts/ESQueue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/mpeg2ts/ESQueue.cpp b/media/libstagefright/mpeg2ts/ESQueue.cpp
index 8f9c9c8..e0ff0d1 100644
--- a/media/libstagefright/mpeg2ts/ESQueue.cpp
+++ b/media/libstagefright/mpeg2ts/ESQueue.cpp
@@ -604,7 +604,9 @@ sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitH264() {
dstOffset += pos.nalSize + 4;
}
+#if !LOG_NDEBUG
ALOGV("accessUnit contains nal types %s", out.c_str());
+#endif
const NALPosition &pos = nals.itemAt(nals.size() - 1);
size_t nextScan = pos.nalOffset + pos.nalSize;