summaryrefslogtreecommitdiff
path: root/libavfilter/af_silencedetect.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-22 12:59:29 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-25 13:42:37 +0200
commit972cad77fa13ae312650dd0b7b99e484ffcb7949 (patch)
tree9418bafd12d7af361996955f0d98c8b500d3e239 /libavfilter/af_silencedetect.c
parenta31ab5071246768976923de3b318b57312b7ad9b (diff)
downloadffmpeg-972cad77fa13ae312650dd0b7b99e484ffcb7949.tar.gz
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.
Diffstat (limited to 'libavfilter/af_silencedetect.c')
-rw-r--r--libavfilter/af_silencedetect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c
index e8bf41bf16..5ef5f9654b 100644
--- a/libavfilter/af_silencedetect.c
+++ b/libavfilter/af_silencedetect.c
@@ -23,6 +23,7 @@
* Audio silence detector
*/
+#include "libavutil/audioconvert.h"
#include "libavutil/opt.h"
#include "libavutil/timestamp.h"
#include "audio.h"