--- a/QTfrontend/util/LibavInteraction.cpp Sun Aug 25 22:32:06 2013 +0400
+++ b/QTfrontend/util/LibavInteraction.cpp Tue Aug 27 14:12:16 2013 +0200
@@ -30,6 +30,10 @@
#include "HWApplication.h"
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 25, 0)
+#define CodecID AVCodecID
+#endif
+
struct Codec
{
CodecID id;
--- a/QTfrontend/util/LibavInteraction.h Sun Aug 25 22:32:06 2013 +0400
+++ b/QTfrontend/util/LibavInteraction.h Tue Aug 27 14:12:16 2013 +0200
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
-#ifndef LIBAV_ITERACTION
-#define LIBAV_ITERACTION
+#ifndef LIBAV_INTERACTION
+#define LIBAV_INTERACTION
#include <QComboBox>
@@ -48,4 +48,4 @@
QString getFileInfo(const QString & filepath);
};
-#endif // LIBAV_ITERACTION
+#endif // LIBAV_INTERACTION