summaryrefslogtreecommitdiff
path: root/src/libxinevdec/cyuv.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/cyuv.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/cyuv.c')
-rw-r--r--src/libxinevdec/cyuv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libxinevdec/cyuv.c b/src/libxinevdec/cyuv.c
index a95679877..6e3bb57c4 100644
--- a/src/libxinevdec/cyuv.c
+++ b/src/libxinevdec/cyuv.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: cyuv.c,v 1.13 2002/12/06 01:44:06 miguelfreitas Exp $
+ * $Id: cyuv.c,v 1.14 2002/12/18 21:35:41 esnel Exp $
*/
/* And this is the header that came with the CYUV decoder: */
@@ -145,7 +145,7 @@ static void cyuv_decode_data (video_decoder_t *this_gen,
cyuv_decoder_t *this = (cyuv_decoder_t *) this_gen;
vo_frame_t *img; /* video out frame */
- if (buf->decoder_flags & BUF_FLAG_PREVIEW)
+ if (buf->decoder_flags & (BUF_FLAG_PREVIEW | BUF_FLAG_SPECIAL))
return;
if (buf->decoder_flags & BUF_FLAG_HEADER) { /* need to initialize */