summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2003-02-23 22:28:26 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2003-02-23 22:28:26 +0000
commit80a147491b87c68046e9504ccf025e0760eea9fb (patch)
tree08822f2d1e161296ecf404f6f4403f98a42ffe3a /src
parente05a74da7a372b0bf733013a58f082a3ffec8e7b (diff)
downloadxine-lib-80a147491b87c68046e9504ccf025e0760eea9fb.tar.gz
xine-lib-80a147491b87c68046e9504ccf025e0760eea9fb.tar.bz2
Uses nbc_end_of_stream().
CVS patchset: 4274 CVS date: 2003/02/23 22:28:26
Diffstat (limited to 'src')
-rw-r--r--src/input/input_mms.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/input/input_mms.c b/src/input/input_mms.c
index 07aa09b2f..20a61fe95 100644
--- a/src/input/input_mms.c
+++ b/src/input/input_mms.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: input_mms.c,v 1.35 2003/01/31 14:06:13 miguelfreitas Exp $
+ * $Id: input_mms.c,v 1.36 2003/02/23 22:28:26 tmattern Exp $
*
* mms input plugin based on work from major mms
*/
@@ -120,10 +120,12 @@ static off_t mms_plugin_read (input_plugin_t *this_gen,
this->curpos += n;
+ if (n != len)
+ nbc_end_of_stream (this->nbc);
return n;
}
-static buf_element_t *mms_plugin_read_block (input_plugin_t *this_gen,
+static buf_element_t *mms_plugin_read_block (input_plugin_t *this_gen,
fifo_buffer_t *fifo, off_t todo) {
/*mms_input_plugin_t *this = (mms_input_plugin_t *) this_gen; */
buf_element_t *buf = fifo->buffer_pool_alloc (fifo);