Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
dc4db714
Commit
dc4db714
authored
Aug 16, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avcodec: use the standard includes
parent
77ed9b1d
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
66 deletions
+24
-66
modules/codec/avcodec/audio.c
modules/codec/avcodec/audio.c
+1
-5
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+1
-5
modules/codec/avcodec/cpu.c
modules/codec/avcodec/cpu.c
+1
-5
modules/codec/avcodec/deinterlace.c
modules/codec/avcodec/deinterlace.c
+1
-5
modules/codec/avcodec/dxva2.c
modules/codec/avcodec/dxva2.c
+5
-9
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+1
-5
modules/codec/avcodec/fourcc.c
modules/codec/avcodec/fourcc.c
+1
-5
modules/codec/avcodec/subtitle.c
modules/codec/avcodec/subtitle.c
+3
-7
modules/codec/avcodec/vaapi.c
modules/codec/avcodec/vaapi.c
+1
-5
modules/codec/avcodec/video.c
modules/codec/avcodec/video.c
+9
-15
No files found.
modules/codec/avcodec/audio.c
View file @
dc4db714
...
@@ -35,11 +35,7 @@
...
@@ -35,11 +35,7 @@
#include <vlc_avcodec.h>
#include <vlc_avcodec.h>
/* ffmpeg header */
/* ffmpeg header */
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#else
# include <avcodec.h>
#endif
#if LIBAVUTIL_VERSION_INT >= ((50<<16)+(38<<8)+0)
#if LIBAVUTIL_VERSION_INT >= ((50<<16)+(38<<8)+0)
# include "libavutil/audioconvert.h"
# include "libavutil/audioconvert.h"
...
...
modules/codec/avcodec/avcodec.c
View file @
dc4db714
...
@@ -37,11 +37,7 @@
...
@@ -37,11 +37,7 @@
/* ffmpeg header */
/* ffmpeg header */
#define HAVE_MMX 1
#define HAVE_MMX 1
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#else
# include <avcodec.h>
#endif
#include "avcodec.h"
#include "avcodec.h"
#include "chroma.h"
#include "chroma.h"
...
...
modules/codec/avcodec/cpu.c
View file @
dc4db714
...
@@ -26,11 +26,7 @@
...
@@ -26,11 +26,7 @@
#include <vlc_cpu.h>
#include <vlc_cpu.h>
#define HAVE_MMX 1
#define HAVE_MMX 1
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#else
# include <avcodec.h>
#endif
#include "avcodec.h"
#include "avcodec.h"
/**
/**
...
...
modules/codec/avcodec/deinterlace.c
View file @
dc4db714
...
@@ -34,11 +34,7 @@
...
@@ -34,11 +34,7 @@
#include <vlc_filter.h>
#include <vlc_filter.h>
/* ffmpeg header */
/* ffmpeg header */
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#else
# include <avcodec.h>
#endif
#include "avcodec.h"
#include "avcodec.h"
#include "avcommon.h"
#include "avcommon.h"
...
...
modules/codec/avcodec/dxva2.c
View file @
dc4db714
...
@@ -42,15 +42,11 @@
...
@@ -42,15 +42,11 @@
#include <vlc_cpu.h>
#include <vlc_cpu.h>
#include <assert.h>
#include <assert.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#ifdef HAVE_AVCODEC_DXVA2
# ifdef HAVE_AVCODEC_DXVA2
# define DXVA2API_USE_BITFIELDS
# define DXVA2API_USE_BITFIELDS
# define COBJMACROS
# define COBJMACROS
# include <libavcodec/dxva2.h>
# include <libavcodec/dxva2.h>
# endif
#else
# include <avcodec.h>
#endif
#endif
#include "avcodec.h"
#include "avcodec.h"
...
...
modules/codec/avcodec/encoder.c
View file @
dc4db714
...
@@ -42,11 +42,7 @@
...
@@ -42,11 +42,7 @@
/* ffmpeg header */
/* ffmpeg header */
#define HAVE_MMX 1
#define HAVE_MMX 1
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#else
# include <avcodec.h>
#endif
#include "avcodec.h"
#include "avcodec.h"
#include "avcommon.h"
#include "avcommon.h"
...
...
modules/codec/avcodec/fourcc.c
View file @
dc4db714
...
@@ -29,11 +29,7 @@
...
@@ -29,11 +29,7 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_codec.h>
#include <vlc_codec.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#else
# include <avcodec.h>
#endif
#include "avcodec.h"
#include "avcodec.h"
/*****************************************************************************
/*****************************************************************************
...
...
modules/codec/avcodec/subtitle.c
View file @
dc4db714
...
@@ -34,13 +34,9 @@
...
@@ -34,13 +34,9 @@
#include <vlc_avcodec.h>
#include <vlc_avcodec.h>
/* ffmpeg header */
/* ffmpeg header */
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#ifdef HAVE_AVCODEC_VAAPI
# ifdef HAVE_AVCODEC_VAAPI
# include <libavcodec/vaapi.h>
# include <libavcodec/vaapi.h>
# endif
#else
# include <avcodec.h>
#endif
#endif
#include "avcodec.h"
#include "avcodec.h"
...
...
modules/codec/avcodec/vaapi.c
View file @
dc4db714
...
@@ -29,11 +29,7 @@
...
@@ -29,11 +29,7 @@
#include <vlc_fourcc.h>
#include <vlc_fourcc.h>
#include <assert.h>
#include <assert.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#else
# include <avcodec.h>
#endif
#include "avcodec.h"
#include "avcodec.h"
#include "va.h"
#include "va.h"
...
...
modules/codec/avcodec/video.c
View file @
dc4db714
...
@@ -44,21 +44,15 @@
...
@@ -44,21 +44,15 @@
#include <assert.h>
#include <assert.h>
/* ffmpeg header */
/* ffmpeg header */
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
# include <libavcodec/avcodec.h>
#ifdef HAVE_AVCODEC_VAAPI
# ifdef HAVE_AVCODEC_VAAPI
# include <libavcodec/vaapi.h>
# include <libavcodec/vaapi.h>
#endif
# endif
#ifdef HAVE_AVCODEC_DXVA2
# ifdef HAVE_AVCODEC_DXVA2
# include <libavcodec/dxva2.h>
# include <libavcodec/dxva2.h>
#endif
# endif
#ifdef HAVE_AVCODEC_VDA
# ifdef HAVE_AVCODEC_VDA
# include <libavcodec/vda.h>
# include <libavcodec/vda.h>
# endif
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else
# include <avcodec.h>
#endif
#endif
#include "avcodec.h"
#include "avcodec.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment