summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-06-07 11:25:19 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-06-07 11:25:19 +0200
commit4e02f899e181852bb9b58fcf0ca7b4ef0fe11bb7 (patch)
treef7620583535027169726b4ac3e3dbfcbfd98c3e1 /src
parent374ee7afd3de63adb6022e4a87460bac46eee5d2 (diff)
downloadpianobar-4e02f899e181852bb9b58fcf0ca7b4ef0fe11bb7.tar.gz
pianobar-4e02f899e181852bb9b58fcf0ca7b4ef0fe11bb7.tar.bz2
pianobar-4e02f899e181852bb9b58fcf0ca7b4ef0fe11bb7.zip
Fix autodetection of ffmpeg 2.2
Drop minor version check, assuming this workaround is required for all future versions. See 0a64272db65201fc2ecb3406b89d895966933b99. Fixes issue #456.
Diffstat (limited to 'src')
-rw-r--r--src/player.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/player.c b/src/player.c
index fba1d47..3a2c9fa 100644
--- a/src/player.c
+++ b/src/player.c
@@ -35,9 +35,8 @@ THE SOFTWARE.
* ffmpeg’s micro versions always start at 100, that’s how we can distinguish
* ffmpeg and libav */
#include <libavfilter/version.h>
-/* ffmpeg 2.2 */
+/* ffmpeg >=2.2 */
#if LIBAVFILTER_VERSION_MAJOR == 4 && \
- LIBAVFILTER_VERSION_MINOR <= 2 && \
LIBAVFILTER_VERSION_MICRO >= 100
#define HAVE_AVFILTER_GRAPH_SEND_COMMAND
#endif