Commit ae93285e authored by Martin Storsjö's avatar Martin Storsjö

iomx: Support building for honeycomb with ANDROID_API=13 as well

Signed-off-by: Martin Storsjö's avatarMartin Storsjö <martin@martin.st>
parent ace55f9c
......@@ -193,7 +193,7 @@ static OMX_ERRORTYPE iomx_use_buffer(OMX_HANDLETYPE component, OMX_BUFFERHEADERT
OMXNode* node = (OMXNode*) ((OMX_COMPONENTTYPE*)component)->pComponentPrivate;
OMXBuffer* info = new OMXBuffer;
info->dealer = NULL;
#if ANDROID_API == 11
#if ANDROID_API <= 13
info->graphicBuffer = new GraphicBuffer((android_native_buffer_t*) data, false);
#else
info->graphicBuffer = new GraphicBuffer((ANativeWindowBuffer*) data, false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment