OSDN Git Service

warnings be gone (4/4)
authorMark Salyzyn <salyzyn@google.com>
Fri, 11 Apr 2014 16:50:45 +0000 (09:50 -0700)
committerMark Salyzyn <salyzyn@google.com>
Fri, 11 Apr 2014 18:20:54 +0000 (18:20 +0000)
(cherry picked from commit 84333e0475bc911adc16417f4ca327c975cf6c36)
(squashed with commit b4a7a2df4c28c3f32b5d877b54831d2cc5d78f81)

Change-Id: I55df09714a0e1cb98a44c8fcddac2c646ae5e139

media/libstagefright/matroska/MatroskaExtractor.cpp

index 4498746..0be6032 100644 (file)
@@ -33,6 +33,8 @@
 #include <media/stagefright/Utils.h>
 #include <utils/String8.h>
 
+#include <inttypes.h>
+
 namespace android {
 
 struct DataSourceReader : public mkvparser::IMkvReader {
@@ -409,8 +411,8 @@ void BlockIterator::seek(
         if (isAudio || block()->IsKey()) {
             // Accept the first key frame
             *actualFrameTimeUs = (block()->GetTime(mCluster) + 500LL) / 1000LL;
-            ALOGV("Requested seek point: %lld actual: %lld",
-                  seekTimeUs, actualFrameTimeUs);
+            ALOGV("Requested seek point: %" PRId64 " actual: %" PRId64,
+                  seekTimeUs, *actualFrameTimeUs);
             break;
         }
     }