summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-27 05:41:40 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-27 05:41:40 +0000
commitcb2d2bc4995c82aeee4b5e0a41fd6fd21a58f21e (patch)
tree0ba019dedc6a3639d04c9250a7f96ecc5235f06d
parent9fd0f58f485c2665c46b2350da9488da419b4eee (diff)
downloadxine-lib-cb2d2bc4995c82aeee4b5e0a41fd6fd21a58f21e.tar.gz
xine-lib-cb2d2bc4995c82aeee4b5e0a41fd6fd21a58f21e.tar.bz2
Assert the presence of _last, although it was obvious by the previosu asserts.
CVS patchset: 8315 CVS date: 2006/09/27 05:41:40
-rw-r--r--src/input/vcd/libvcd/image_nrg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/vcd/libvcd/image_nrg.c b/src/input/vcd/libvcd/image_nrg.c
index c7912e26a..1faeb98a9 100644
--- a/src/input/vcd/libvcd/image_nrg.c
+++ b/src/input/vcd/libvcd/image_nrg.c
@@ -1,5 +1,5 @@
/*
- $Id: image_nrg.c,v 1.3 2005/01/01 02:43:59 rockyb Exp $
+ $Id: image_nrg.c,v 1.4 2006/09/27 05:41:40 dgp85 Exp $
Copyright (C) 2001, 2003, 2004 Herbert Valerio Riedel <hvr@gnu.org>
@@ -44,7 +44,7 @@
#include "stream_stdio.h"
#include "util.h"
-static const char _rcsid[] = "$Id: image_nrg.c,v 1.3 2005/01/01 02:43:59 rockyb Exp $";
+static const char _rcsid[] = "$Id: image_nrg.c,v 1.4 2006/09/27 05:41:40 dgp85 Exp $";
/* structures used */
@@ -203,6 +203,7 @@ _map (_img_nrg_snk_t *_obj, uint32_t lsn)
}
vcd_assert (node != NULL);
+ vcd_assert (_last != NULL);
switch (_last->type)
{