mpeg2ts: fixing build breakage due to an unmatched argument type
Change-Id: I30e5093d55c29fa62fe8c19095c006861c0ee5a0
diff --git a/media/libstagefright/mpeg2ts/MPEG2TSExtractor.cpp b/media/libstagefright/mpeg2ts/MPEG2TSExtractor.cpp
index 45fae4d..e0ee87b 100644
--- a/media/libstagefright/mpeg2ts/MPEG2TSExtractor.cpp
+++ b/media/libstagefright/mpeg2ts/MPEG2TSExtractor.cpp
@@ -16,6 +16,8 @@
//#define LOG_NDEBUG 0
#define LOG_TAG "MPEG2TSExtractor"
+
+#include <inttypes.h>
#include <utils/Log.h>
#include "include/MPEG2TSExtractor.h"
@@ -233,7 +235,7 @@
}
}
- ALOGI("haveAudio=%d, haveVideo=%d, elaspedTime=%lld",
+ ALOGI("haveAudio=%d, haveVideo=%d, elaspedTime=%" PRId64,
haveAudio, haveVideo, ALooper::GetNowUs() - startTime);
}