diff options
Diffstat (limited to 'src/libxinevdec/rgb.c')
-rw-r--r-- | src/libxinevdec/rgb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c index de392759d..addf45efe 100644 --- a/src/libxinevdec/rgb.c +++ b/src/libxinevdec/rgb.c @@ -21,7 +21,7 @@ * Actually, this decoder just converts a raw RGB image to a YUY2 map * suitable for display under xine. * - * $Id: rgb.c,v 1.13 2002/12/06 01:44:06 miguelfreitas Exp $ + * $Id: rgb.c,v 1.14 2002/12/18 21:35:42 esnel Exp $ */ #include <stdio.h> @@ -127,7 +127,7 @@ static void rgb_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; |