[MPlayer-cvslog] r35325 - trunk/sub/spudec.c

reimar subversion at mplayerhq.hu
Thu Nov 1 22:46:33 CET 2012


Author: reimar
Date: Thu Nov  1 22:46:33 2012
New Revision: 35325

Log:
Remove pointless unreachable code (the loop condition already checks
the 0xff case).

Modified:
   trunk/sub/spudec.c

Modified: trunk/sub/spudec.c
==============================================================================
--- trunk/sub/spudec.c	Thu Nov  1 22:42:40 2012	(r35324)
+++ trunk/sub/spudec.c	Thu Nov  1 22:46:33 2012	(r35325)
@@ -542,11 +542,6 @@ static void spudec_process_control(spude
 	       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);


More information about the MPlayer-cvslog mailing list