From 38122ce1416954bfb260d34dfe9aedcd873bd76e Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 10 Feb 2013 17:23:45 +0000 Subject: 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 --- src/plugins/Input/ffmpeg/decoder_ffmpeg.h | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) (limited to 'src/plugins/Input/ffmpeg/decoder_ffmpeg.h') 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 #include #include -#if (LIBAVUTIL_VERSION_INT >= ((51<<16)+(32<<8)+0)) #include -#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 -- cgit v1.2.3-13-gbd6f