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/qtsmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libxinevdec/qtsmc.c') diff --git a/src/libxinevdec/qtsmc.c b/src/libxinevdec/qtsmc.c index e35e14d27..8e1a78cec 100644 --- a/src/libxinevdec/qtsmc.c +++ b/src/libxinevdec/qtsmc.c @@ -23,7 +23,7 @@ * For more information on the SMC format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: qtsmc.c,v 1.10 2002/12/06 01:44:06 miguelfreitas Exp $ + * $Id: qtsmc.c,v 1.11 2002/12/18 21:35:42 esnel Exp $ */ #include @@ -555,7 +555,7 @@ static void qtsmc_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