aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-07-04 20:07:12 +0000
committerPaul B Mahol <onemda@gmail.com>2013-07-04 20:07:12 +0000
commitdda8afc391798e345c73f857f8e0fb8424ceb77b (patch)
tree9c206c7104b19000e621a97ac930a418056f50bd
parent621ab4e4ef69ce5912430ded8bdd5e6b7d1ca196 (diff)
downloadffmpeg-dda8afc391798e345c73f857f8e0fb8424ceb77b.tar.gz
libstagefright: unbreak compilation
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/libstagefright.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/libstagefright.cpp b/libavcodec/libstagefright.cpp
index a6fd1b9890..d02e6f32ac 100644
--- a/libavcodec/libstagefright.cpp
+++ b/libavcodec/libstagefright.cpp
@@ -36,6 +36,7 @@
extern "C" {
#include "avcodec.h"
#include "libavutil/imgutils.h"
+#include "internal.h"
}
#define OMX_QCOM_COLOR_FormatYVU420SemiPlanar 0x7FA30C00
@@ -185,7 +186,7 @@ void* decode_thread(void *arg)
buffer->release();
goto push_frame;
}
- ret = ff_get_buffer(avctx, frame->vframe);
+ ret = ff_get_buffer(avctx, frame->vframe, 0);
if (ret < 0) {
frame->status = ret;
decode_done = 1;