diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-10 17:23:45 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-02-10 17:23:45 +0000 |
| commit | 38122ce1416954bfb260d34dfe9aedcd873bd76e (patch) | |
| tree | c4d1ec02e4f18c240246b649782befc6979a484f /src/plugins/Input/ffmpeg/settingsdialog.cpp | |
| parent | 1d4c411d8461f52e5e93bb656b2671dfd51f0ba7 (diff) | |
| download | qmmp-38122ce1416954bfb260d34dfe9aedcd873bd76e.tar.gz qmmp-38122ce1416954bfb260d34dfe9aedcd873bd76e.tar.bz2 qmmp-38122ce1416954bfb260d34dfe9aedcd873bd76e.zip | |
removed legacy code from ffmpeg plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3218 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/ffmpeg/settingsdialog.cpp')
| -rw-r--r-- | src/plugins/Input/ffmpeg/settingsdialog.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/Input/ffmpeg/settingsdialog.cpp b/src/plugins/Input/ffmpeg/settingsdialog.cpp index 25c9902d0..ab9c22007 100644 --- a/src/plugins/Input/ffmpeg/settingsdialog.cpp +++ b/src/plugins/Input/ffmpeg/settingsdialog.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -20,15 +20,12 @@ #include <QSettings> #include <QStringList> - #include <qmmp/qmmp.h> extern "C"{ #include <libavformat/avformat.h> #include <libavcodec/avcodec.h> -#if (LIBAVUTIL_VERSION_INT >= ((51<<16)+(32<<8)+0)) #include <libavutil/dict.h> -#endif } #include "settingsdialog.h" @@ -67,11 +64,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) ui.mkaCheckBox->setEnabled(avcodec_find_decoder(CODEC_ID_TRUEHD)); ui.mkaCheckBox->setChecked(filters.contains("*.mka") && avcodec_find_decoder(CODEC_ID_TRUEHD)); ui.vqfCheckBox->setEnabled(avcodec_find_decoder(CODEC_ID_TWINVQ)); -#if (LIBAVCODEC_VERSION_INT >= ((53<<16)+(42<<8)+4)) ui.vqfCheckBox->setChecked(filters.contains("*.vqf") && avcodec_find_decoder(CODEC_ID_TWINVQ)); -#else - ui.vqfCheckBox->hide(); -#endif } SettingsDialog::~SettingsDialog() |
