avcodec/mediacodec: Factor duplicate include

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-10-16 16:52:10 +02:00 committed by Matthieu Bouron
parent 2bd9956454
commit 9545ff3ec3
1 changed files with 2 additions and 3 deletions

View File

@ -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;