changeset 35231:9fb45b9710cc

Remove pointless unreachable code (the loop condition already checks the 0xff case).
author reimar
date Thu, 01 Nov 2012 21:46:33 +0000
parents 996c2f5657b3
children 57392a26365f
files sub/spudec.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/sub/spudec.c	Thu Nov 01 21:42:40 2012 +0000
+++ b/sub/spudec.c	Thu Nov 01 21:46:33 2012 +0000
@@ -542,11 +542,6 @@
 	       current_nibble[0] / 2, current_nibble[1] / 2);
 	off+=4;
 	break;
-      case 0xff:
-	/* All done, bye-bye */
-	mp_msg(MSGT_SPUDEC,MSGL_DBG2,"Done!\n");
-	return;
-//	break;
       default:
 	mp_msg(MSGT_SPUDEC,MSGL_WARN,"spudec: Error determining control type 0x%02x.  Skipping %d bytes.\n",
 	       type, next_off - off);