libavcodec, libavdevice: Remove unnecessary includes of version.h

xvmc.h used FF_API_* macros before, but they were removed in
1c63aed232, leaving the include
unused.

The ones in android_camera.c and mediacodec_wrapper.c have been
added due to a misunderstanding, fixed in
c0bce367e4 and
13b77af2f0.

The one in mediacodec.c seems to never have been used at all.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2022-02-23 13:00:09 +02:00
parent 6f04b43c22
commit 17ab836a5f
4 changed files with 0 additions and 5 deletions

View File

@ -35,7 +35,6 @@
#include "ffjni.h"
#include "mediacodecdec_common.h"
#include "version.h"
AVMediaCodecContext *av_mediacodec_alloc_context(void)
{

View File

@ -28,7 +28,6 @@
#include "avcodec.h"
#include "ffjni.h"
#include "version.h"
#include "mediacodec_wrapper.h"
struct JNIAMediaCodecListFields {

View File

@ -32,7 +32,6 @@
#include <X11/extensions/XvMC.h>
#include "libavutil/attributes.h"
#include "version.h"
#include "avcodec.h"
/**

View File

@ -43,8 +43,6 @@
#include "libavutil/threadmessage.h"
#include "libavutil/time.h"
#include "version.h"
/* This image format is available on all Android devices
* supporting the Camera2 API */
#define IMAGE_FORMAT_ANDROID AIMAGE_FORMAT_YUV_420_888