diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-04-22 11:55:06 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-04-22 11:55:06 +0200 |
commit | fc12245b0398ac0422edf7badc12fd30746a4bb5 (patch) | |
tree | 2f452cd66ec9548ef519519654f37d9e9f51f6b3 /src | |
parent | 4d8ad7d87072bc1631d0b949930f4869e56b7b99 (diff) | |
download | pianobar-windows-fc12245b0398ac0422edf7badc12fd30746a4bb5.tar.gz pianobar-windows-fc12245b0398ac0422edf7badc12fd30746a4bb5.tar.bz2 pianobar-windows-fc12245b0398ac0422edf7badc12fd30746a4bb5.zip |
player: Add missing header for ffmpeg1.2
Closes #441.
Diffstat (limited to 'src')
-rw-r--r-- | src/player.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c index b8d0719..b82a3aa 100644 --- a/src/player.c +++ b/src/player.c @@ -39,6 +39,10 @@ THE SOFTWARE. #include <libavfilter/avfiltergraph.h> #include <libavfilter/buffersink.h> #include <libavfilter/buffersrc.h> +#ifdef HAVE_LIBAVFILTER_AVCODEC_H +/* required by ffmpeg1.2 for avfilter_copy_buf_props */ +#include <libavfilter/avcodec.h> +#endif #include <libavutil/channel_layout.h> #include <libavutil/opt.h> |