diff options
Diffstat (limited to 'src/plugins/Input/ffmpeg')
| -rw-r--r-- | src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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; |
