diff options
author | Pannag Sanketi <psanketi@google.com> | 2011-08-26 19:17:20 -0700 |
---|---|---|
committer | Pannag Sanketi <psanketi@google.com> | 2011-08-26 19:18:57 -0700 |
commit | 5410afcbb0af5d29d9f710a1c2978c500f9792dc (patch) | |
tree | 7152c0a5df13b75dc8bf01939857485b0bbe539a | |
parent | 0b293e76c8fe4e973ccd8a872bc5320ba28d49cc (diff) | |
download | frameworks_av-5410afcbb0af5d29d9f710a1c2978c500f9792dc.zip frameworks_av-5410afcbb0af5d29d9f710a1c2978c500f9792dc.tar.gz frameworks_av-5410afcbb0af5d29d9f710a1c2978c500f9792dc.tar.bz2 |
Fixing small syntax error in MPEG4 logging
Found that the build was breaking when the logging was enabled in
MPEG4Writer. Fixed.
Change-Id: I62c5e6d16b2ecf5644c8d46b9bbcca68a797b223
-rwxr-xr-x | media/libstagefright/MPEG4Writer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/MPEG4Writer.cpp b/media/libstagefright/MPEG4Writer.cpp index 5f58090..46d87df 100755 --- a/media/libstagefright/MPEG4Writer.cpp +++ b/media/libstagefright/MPEG4Writer.cpp @@ -1173,7 +1173,7 @@ void MPEG4Writer::Track::addOneSttsTableEntry( size_t sampleCount, int32_t duration) { if (duration == 0) { - LOGW("%d 0-duration samples found: %d", sampleCount); + LOGW("0-duration samples found: %d", sampleCount); } SttsTableEntry sttsEntry(sampleCount, duration); mSttsTableEntries.push_back(sttsEntry); @@ -1304,7 +1304,7 @@ void MPEG4Writer::bufferChunk(const Chunk& chunk) { void MPEG4Writer::writeChunkToFile(Chunk* chunk) { LOGV("writeChunkToFile: %lld from %s track", - chunk.mTimestampUs, chunk.mTrack->isAudio()? "audio": "video"); + chunk->mTimeStampUs, chunk->mTrack->isAudio()? "audio": "video"); int32_t isFirstSample = true; while (!chunk->mSamples.empty()) { |