summaryrefslogtreecommitdiff
path: root/src/libxinevdec/yuv.c
diff options
context:
space:
mode:
authorEwald Snel <esnel@users.sourceforge.net>2002-12-18 21:35:41 +0000
committerEwald Snel <esnel@users.sourceforge.net>2002-12-18 21:35:41 +0000
commitb827c9b345b23ad631cfd537182dd0fae9c6b3f3 (patch)
tree6fd86892881b0cb638613c94fc109297f1f2920b /src/libxinevdec/yuv.c
parentcf2da035d40199a0916fc012310ef0a164122f2d (diff)
downloadxine-lib-b827c9b345b23ad631cfd537182dd0fae9c6b3f3.tar.gz
xine-lib-b827c9b345b23ad631cfd537182dd0fae9c6b3f3.tar.bz2
Don't append 'BUF_FLAG_SPECIAL' packets to frame data
CVS patchset: 3586 CVS date: 2002/12/18 21:35:41
Diffstat (limited to 'src/libxinevdec/yuv.c')
-rw-r--r--src/libxinevdec/yuv.c4
1 files changed, 2 insertions, 2 deletions
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 <stdio.h>
@@ -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;