# HG changeset patch # User reimar # Date 1351806393 0 # Node ID 9fb45b9710cca5a0a269a1df54e0d501407fef0f # Parent 996c2f5657b38b6da1513c3d7b35994bd1343c78 Remove pointless unreachable code (the loop condition already checks the 0xff case). diff -r 996c2f5657b3 -r 9fb45b9710cc sub/spudec.c --- 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);