aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/ffmpeg/decoder_ffmpeg.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-02-10 17:23:45 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-02-10 17:23:45 +0000
commit38122ce1416954bfb260d34dfe9aedcd873bd76e (patch)
treec4d1ec02e4f18c240246b649782befc6979a484f /src/plugins/Input/ffmpeg/decoder_ffmpeg.h
parent1d4c411d8461f52e5e93bb656b2671dfd51f0ba7 (diff)
downloadqmmp-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/decoder_ffmpeg.h')
-rw-r--r--src/plugins/Input/ffmpeg/decoder_ffmpeg.h25
1 files changed, 4 insertions, 21 deletions
diff --git a/src/plugins/Input/ffmpeg/decoder_ffmpeg.h b/src/plugins/Input/ffmpeg/decoder_ffmpeg.h
index 97497c22b..7ef63b5bc 100644
--- a/src/plugins/Input/ffmpeg/decoder_ffmpeg.h
+++ b/src/plugins/Input/ffmpeg/decoder_ffmpeg.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2006-2012 by Ilya Kotov *
+ * Copyright (C) 2006-2013 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -18,16 +18,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef __decoder_ffmeg_h
-#define __decoder_ffmeg_h
+#ifndef DECODER_FFMPEG_H
+#define DECODER_FFMPEG_H
extern "C"{
#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
#include <libavutil/mathematics.h>
-#if (LIBAVUTIL_VERSION_INT >= ((51<<16)+(32<<8)+0))
#include <libavutil/dict.h>
-#endif
}
@@ -68,25 +66,10 @@ private:
int64_t m_seekTime;
qint64 m_skipBytes;
-#if (LIBAVCODEC_VERSION_INT >= ((53<<16)+(34<<8)+0))
qint64 ffmpeg_decode();
AVIOContext *m_stream;
AVFrame *m_decoded_frame;
-
-#else
- qint64 ffmpeg_decode(uint8_t *audio);
- bool m_skip;
-
-#if (LIBAVCODEC_VERSION_INT >= ((52<<16)+(102<<8)+0))
- AVIOContext *m_stream;
-#else
- ByteIOContext *m_stream;
-#endif
-
- uint8_t *m_output_buf;
-
-#endif
};
-#endif // __decoder_ffmpeg_h
+#endif // DECODER_FFMPEG_H