From 0c74e5c10f7f1407bd01d2bb8aece6c6ccfad472 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 30 Oct 2005 00:32:52 +0000 Subject: QDM2 fix CVS patchset: 7779 CVS date: 2005/10/30 00:32:52 --- src/libffmpeg/audio_decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libffmpeg/audio_decoder.c') diff --git a/src/libffmpeg/audio_decoder.c b/src/libffmpeg/audio_decoder.c index 5a82df797..42a773138 100644 --- a/src/libffmpeg/audio_decoder.c +++ b/src/libffmpeg/audio_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_decoder.c,v 1.20 2005/10/23 12:56:26 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.21 2005/10/30 00:32:52 miguelfreitas Exp $ * * xine audio decoder plugin using ffmpeg * @@ -282,7 +282,7 @@ static void ff_audio_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) "ffmpeg_audio_dec: error decompressing audio frame\n"); this->size=0; return; - } else if (bytes_consumed == 0) { + } else if (bytes_consumed == 0 && decode_buffer_size == 0) { if (offset) memmove(this->buf, &this->buf[offset], this->size); return; -- cgit v1.2.3