From b827c9b345b23ad631cfd537182dd0fae9c6b3f3 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Wed, 18 Dec 2002 21:35:41 +0000 Subject: Don't append 'BUF_FLAG_SPECIAL' packets to frame data CVS patchset: 3586 CVS date: 2002/12/18 21:35:41 --- src/libxinevdec/yuv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libxinevdec/yuv.c') diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c index 1c3e85fbb..0eb95327d 100644 --- a/src/libxinevdec/yuv.c +++ b/src/libxinevdec/yuv.c @@ -21,7 +21,7 @@ * Actually, this decoder just reorganizes chunks of raw YUV data in such * a way that xine can display them. * - * $Id: yuv.c,v 1.15 2002/12/06 01:44:06 miguelfreitas Exp $ + * $Id: yuv.c,v 1.16 2002/12/18 21:35:42 esnel Exp $ */ #include @@ -120,7 +120,7 @@ static void yuv_decode_data (video_decoder_t *this_gen, this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; return; - } else if (this->decoder_ok) { + } else if (this->decoder_ok && !(buf->decoder_flags & BUF_FLAG_SPECIAL)) { if (this->size + buf->size > this->bufsize) { this->bufsize = this->size + 2 * buf->size; -- cgit v1.2.3