Commit dda8afc3 authored by Paul B Mahol's avatar Paul B Mahol

libstagefright: unbreak compilation

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 621ab4e4
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
extern "C" { extern "C" {
#include "avcodec.h" #include "avcodec.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "internal.h"
} }
#define OMX_QCOM_COLOR_FormatYVU420SemiPlanar 0x7FA30C00 #define OMX_QCOM_COLOR_FormatYVU420SemiPlanar 0x7FA30C00
...@@ -185,7 +186,7 @@ void* decode_thread(void *arg) ...@@ -185,7 +186,7 @@ void* decode_thread(void *arg)
buffer->release(); buffer->release();
goto push_frame; goto push_frame;
} }
ret = ff_get_buffer(avctx, frame->vframe); ret = ff_get_buffer(avctx, frame->vframe, 0);
if (ret < 0) { if (ret < 0) {
frame->status = ret; frame->status = ret;
decode_done = 1; decode_done = 1;
......
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