X86 target fixes
GCC 4.2.1 complains about using void* in arithmetic. Cast it to unsigned
int before using it.
Also there was a missing stdint.h include.
Change-Id: If78bb6a771b72eb08bd2dc401371e8da14fd9ecc
diff --git a/libvideoeditor/lvpp/VideoEditorSRC.cpp b/libvideoeditor/lvpp/VideoEditorSRC.cpp
index 091bdfb..20c0fe5 100755
--- a/libvideoeditor/lvpp/VideoEditorSRC.cpp
+++ b/libvideoeditor/lvpp/VideoEditorSRC.cpp
@@ -325,7 +325,9 @@
}
else {
//copy the buffer
- memcpy((uint8_t*) (pInterframeBuffer + mInterframeBufferPosition), (uint8_t*) (aBuffer->data() + aBuffer->range_offset()), aBuffer->range_length());
+ memcpy(((uint8_t*) pInterframeBuffer) + mInterframeBufferPosition,
+ ((uint8_t*) aBuffer->data()) + aBuffer->range_offset(),
+ aBuffer->range_length());
LOGV("Read from buffer %d", aBuffer->range_length());
mInterframeBufferPosition += aBuffer->range_length();