From 8012d6cb4bb65a858105ef878c5b98d91b24e1cd Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 7 Apr 2014 17:25:20 +0200 Subject: ffmpeg compatibility Adds support for ffmpeg 2.2 and 1.2. Right now the maintenance overhead of supporting both libav implementations is not that big. Fixes #437 and #435. --- src/player.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index 562c12d..f9e94ef 100644 --- a/src/player.h +++ b/src/player.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2008-2013 +Copyright (c) 2008-2014 Lars-Dominik Braun Permission is hereby granted, free of charge, to any person obtaining a copy @@ -32,6 +32,7 @@ THE SOFTWARE. #include #include +#include #include #include @@ -52,6 +53,7 @@ struct audioPlayer { } mode; AVFilterContext *fvolume; + AVFilterGraph *fgraph; volatile double volume; double gain; -- cgit v1.2.3