From 6b9e84fb141d0a16fbf244e840581d28bc8771c3 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 27 Oct 2010 18:00:12 +0000 Subject: fixed shorten support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1957 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp | 4 ++++ 1 file changed, 4 insertions(+) (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 39f9d5ba8..cdf772643 100644 --- a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp +++ b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp @@ -325,6 +325,10 @@ void DecoderFFmpeg::fillBuffer() } else if(m_output_at == 0) { +#if (LIBAVCODEC_VERSION_INT >= ((52<<16)+(20<<8)+0)) + if(c->codec_id == CODEC_ID_SHORTEN) + continue; +#endif if(m_pkt.data) av_free_packet(&m_pkt); m_pkt.data = 0; -- cgit v1.2.3-13-gbd6f