libstagefright: unbreak compilation
authorPaul B Mahol <onemda@gmail.com>
Thu, 4 Jul 2013 20:07:12 +0000 (20:07 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 4 Jul 2013 20:07:12 +0000 (20:07 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/libstagefright.cpp

index a6fd1b9..d02e6f3 100644 (file)
@@ -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;