From f22b1d129299015d98d9bb8839e4e630ef4b412d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 26 May 2012 08:15:15 +0000 Subject: fixed ffmpeg 0.11 support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2726 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp') diff --git a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp index 6d635a092..2cee28522 100644 --- a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp +++ b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp @@ -132,9 +132,6 @@ bool DecoderFFmpeg::initialize() m_stream->seekable = !input()->isSequential(); m_stream->max_packet_size = INPUT_BUFFER_SIZE; - AVFormatParameters ap; - memset(&ap, 0, sizeof(ap)); - if(avformat_open_input(&ic, m_path.toLocal8Bit().constData(), fmt, 0) != 0) { qDebug("DecoderFFmpeg: av_open_input_stream() failed"); @@ -257,7 +254,6 @@ bool DecoderFFmpeg::initialize() return true; } - qint64 DecoderFFmpeg::totalTime() { return m_totalTime; -- cgit v1.2.3-13-gbd6f