summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2003-12-16 01:57:31 +0000
committerMike Melanson <mike@multimedia.cx>2003-12-16 01:57:31 +0000
commitfa22e83e83d2655ce37261e32e83d52e4f86fd9a (patch)
treec59d1bff174b5d93cfafbb93ef9aa183c71a3d4a /src
parent2d3969e54711fb2932edc27b63398a1018022d06 (diff)
downloadxine-lib-fa22e83e83d2655ce37261e32e83d52e4f86fd9a.tar.gz
xine-lib-fa22e83e83d2655ce37261e32e83d52e4f86fd9a.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/libffmpeg/xine_decoder.c13
1 files changed, 1 insertions, 12 deletions
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 */