From 09683ad39216fcc72d4e8dff11005c59c3d6b123 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 24 Apr 2011 14:37:21 +0000 Subject: fixed ffmpeg support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2167 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp index a6c5b53f0..3c735eba1 100644 --- a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp +++ b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp @@ -121,7 +121,7 @@ bool DecoderFFmpeg::initialize() } qDebug("DecoderFFmpeg: detected format: %s", fmt->long_name); -#if (LIBAVCODEC_VERSION_INT >= ((52<<16)+(105<<8)+0)) +#if (LIBAVFORMAT_VERSION_INT >= ((52<<16)+(105<<8)+0)) m_stream = avio_alloc_context(m_input_buf, INPUT_BUFFER_SIZE, 0, this, ffmpeg_read, NULL, ffmpeg_seek); if(!m_stream) { -- cgit v1.2.3-13-gbd6f