From fa22e83e83d2655ce37261e32e83d52e4f86fd9a Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Tue, 16 Dec 2003 01:57:31 +0000 Subject: it is perfectly valid for the ffmpeg audio decoder API function to return 0 bytes CVS patchset: 5916 CVS date: 2003/12/16 01:57:31 --- src/libffmpeg/xine_decoder.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src') diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 82ec548c5..862e2fefc 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_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: xine_decoder.c,v 1.145 2003/12/14 22:13:23 siggi Exp $ + * $Id: xine_decoder.c,v 1.146 2003/12/16 01:57:31 tmmm Exp $ * * xine decoder plugin using ffmpeg * @@ -1561,17 +1561,6 @@ static void ff_audio_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) this->size -= bytes_consumed; offset += bytes_consumed; - - if (!decode_buffer_size) { - xprintf (this->stream->xine, XINE_VERBOSITY_DEBUG, - "ffmpeg: didn't get an audio frame, got %d bytes left\n", this->size); - - if (this->size>0) - memmove (this->buf, &this->buf[offset], this->size); - - return; - } - } /* reset internal accumulation buffer */ -- cgit v1.2.3