[FFmpeg-cvslog] libstagefright: unbreak compilation

Paul B Mahol git at videolan.org
Thu Jul 4 22:09:58 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jul  4 20:07:12 2013 +0000| [dda8afc391798e345c73f857f8e0fb8424ceb77b] | committer: Paul B Mahol

libstagefright: unbreak compilation

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dda8afc391798e345c73f857f8e0fb8424ceb77b
---

 libavcodec/libstagefright.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/libstagefright.cpp b/libavcodec/libstagefright.cpp
index a6fd1b9..d02e6f3 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;



More information about the ffmpeg-cvslog mailing list