diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-10-27 18:00:12 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-10-27 18:00:12 +0000 |
| commit | 6b9e84fb141d0a16fbf244e840581d28bc8771c3 (patch) | |
| tree | 0b99ade44f1a38d1f98d3281075df9e2b813f484 /src/plugins/Input/ffmpeg | |
| parent | b6c6470b519a772b914773e71efd06abf76897e2 (diff) | |
| download | qmmp-6b9e84fb141d0a16fbf244e840581d28bc8771c3.tar.gz qmmp-6b9e84fb141d0a16fbf244e840581d28bc8771c3.tar.bz2 qmmp-6b9e84fb141d0a16fbf244e840581d28bc8771c3.zip | |
fixed shorten support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1957 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/ffmpeg')
| -rw-r--r-- | src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |
