summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_yuv4mpeg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_yuv4mpeg2.c')
-rw-r--r--src/demuxers/demux_yuv4mpeg2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demuxers/demux_yuv4mpeg2.c b/src/demuxers/demux_yuv4mpeg2.c
index 14c777fde..6c952168f 100644
--- a/src/demuxers/demux_yuv4mpeg2.c
+++ b/src/demuxers/demux_yuv4mpeg2.c
@@ -22,7 +22,7 @@
* tools, visit:
* http://mjpeg.sourceforge.net/
*
- * $Id: demux_yuv4mpeg2.c,v 1.14 2002/12/21 12:56:46 miguelfreitas Exp $
+ * $Id: demux_yuv4mpeg2.c,v 1.15 2002/12/23 04:29:56 tmmm Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -218,6 +218,7 @@ static int demux_yuv4mpeg2_send_chunk(demux_plugin_t *this_gen) {
if (this->input->read(this->input, buf->content, buf->size) !=
buf->size) {
+ buf->free_buffer(buf);
this->status = DEMUX_FINISHED;
break;
}