1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavfi: remove unnecessary inclusion of libavcodec/avcodec.h in avfilter.h

libavfilter API was designed in order to be clarly distinguished from the
libavcodec API, including avcodec.h in avfilter.h is not going to help to
stick to this principle.

The inclusion of libavutil/audioconvert.h in many files was required
because avcodec.h includes audioconvert.h.

libavfilter/avcodec.h is where the lavc/lavfi interface should be
entirely placed.
This commit is contained in:
Stefano Sabatini 2012-06-22 12:59:29 +02:00
parent a31ab50712
commit 972cad77fa
11 changed files with 10 additions and 1 deletions

View File

@ -25,6 +25,7 @@
* sample format and channel layout conversion audio filter
*/
#include "libavutil/audioconvert.h"
#include "libavutil/avstring.h"
#include "libswresample/swresample.h"
#include "avfilter.h"

View File

@ -23,6 +23,7 @@
* Audio merging filter
*/
#include "libavutil/audioconvert.h"
#include "libavutil/bprint.h"
#include "libavutil/opt.h"
#include "libswresample/swresample.h" // only for SWR_CH_MAX

View File

@ -24,6 +24,7 @@
* resampling audio filter
*/
#include "libavutil/audioconvert.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/samplefmt.h"

View File

@ -25,6 +25,7 @@
*/
#include "libavutil/audio_fifo.h"
#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "avfilter.h"

View File

@ -40,6 +40,7 @@
#include <float.h>
#include "libavcodec/avfft.h"
#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/eval.h"

View File

@ -28,6 +28,7 @@
*/
#include <stdio.h>
#include "libavutil/audioconvert.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libswresample/swresample.h"

View File

@ -23,6 +23,7 @@
* Audio silence detector
*/
#include "libavutil/audioconvert.h"
#include "libavutil/opt.h"
#include "libavutil/timestamp.h"
#include "audio.h"

View File

@ -27,7 +27,6 @@
#include "libavutil/samplefmt.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "libavcodec/avcodec.h"
#include <stddef.h>

View File

@ -26,6 +26,7 @@
#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
#include "libavutil/pixdesc.h"
#include "libavcodec/avcodec.h" // avcodec_find_best_pix_fmt2()
#include "avfilter.h"
#include "avfiltergraph.h"
#include "formats.h"

View File

@ -25,6 +25,7 @@
* Memory buffer source API.
*/
#include "libavcodec/avcodec.h"
#include "avfilter.h"
enum {

View File

@ -21,6 +21,7 @@
#include <string.h>
#include "libavutil/audioconvert.h"
#include "libavutil/bprint.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"