summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-06-26 13:49:54 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-06-26 13:49:54 +0000
commit59a93abc0e26fa64505420974485273aa85ec46d (patch)
tree3e2cefed66d9ab035a4d05ab72cc2688aeda6830
parent81777646104ed5325477939379f85849f947200e (diff)
downloadxine-lib-59a93abc0e26fa64505420974485273aa85ec46d.tar.gz
xine-lib-59a93abc0e26fa64505420974485273aa85ec46d.tar.bz2
remove statement with no effect (state->cmd_ptr is already set to next_seq)
CVS patchset: 6747 CVS date: 2004/06/26 13:49:54
-rw-r--r--src/libspudec/spu.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c
index 893c67a9d..8d4bdcc5e 100644
--- a/src/libspudec/spu.c
+++ b/src/libspudec/spu.c
@@ -36,7 +36,7 @@
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: spu.c,v 1.75 2004/04/10 17:17:06 mroi Exp $
+ * $Id: spu.c,v 1.76 2004/06/26 13:49:54 mroi Exp $
*
*/
@@ -702,13 +702,11 @@ static void spudec_do_commands(xine_t *xine, spudec_state_t *state, spudec_seq_t
break;
}
}
+
if (next_seq >= seq->buf + seq->seq_len)
seq->finished = 1; /* last sub-sequence */
-
- state->cmd_ptr = next_seq;
-
-
}
+
/* FIXME: Get rid of all these static values */
static uint8_t *bit_ptr[2];
static int field; // which field we are currently decoding