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>
release/5.1
Martin Storsjö 3 years ago
parent 6f04b43c22
commit 17ab836a5f
  1. 1
      libavcodec/mediacodec.c
  2. 1
      libavcodec/mediacodec_wrapper.c
  3. 1
      libavcodec/xvmc.h
  4. 2
      libavdevice/android_camera.c

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

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

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

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

Loading…
Cancel
Save