diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-16 16:52:10 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-10-18 15:32:14 +0200 |
commit | 9545ff3ec39177f429c644128bf8cb0034e2a18b (patch) | |
tree | d9f481b6fd536e351fe9fcbca80debae45ae1743 /libavcodec | |
parent | 2bd99564540a365d5b80d9aad6c19264b15955af (diff) | |
download | ffmpeg-9545ff3ec39177f429c644128bf8cb0034e2a18b.tar.gz |
avcodec/mediacodec: Factor duplicate include
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mediacodec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/mediacodec.c b/libavcodec/mediacodec.c index a658f0eaf0..37008e0305 100644 --- a/libavcodec/mediacodec.c +++ b/libavcodec/mediacodec.c @@ -24,6 +24,8 @@ #include "libavutil/error.h" +#include "mediacodec.h" + #if CONFIG_H264_MEDIACODEC_HWACCEL #include <jni.h> @@ -33,7 +35,6 @@ #include "libavutil/mem.h" #include "ffjni.h" -#include "mediacodec.h" #include "mediacodecdec.h" AVMediaCodecContext *av_mediacodec_alloc_context(void) @@ -101,8 +102,6 @@ int av_mediacodec_release_buffer(AVMediaCodecBuffer *buffer, int render) #include <stdlib.h> -#include "mediacodec.h" - AVMediaCodecContext *av_mediacodec_alloc_context(void) { return NULL; |