mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
libavcodec, libavdevice: Remove unnecessary includes of version.h
xvmc.h used FF_API_* macros before, but they were removed in 1c63aed232febf4404659bf006237ee4f7f17c9c, leaving the include unused. The ones in android_camera.c and mediacodec_wrapper.c have been added due to a misunderstanding, fixed in c0bce367e4932f0fb09195e6978ac1a5a60480a4 and 13b77af2f0b56d6c87bb147947337981c21f4245. 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:
parent
6f04b43c22
commit
17ab836a5f
@ -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…
x
Reference in New Issue
Block a user