public static void main ( String [ ] args ) throws InterruptedException { if ( args == null || args [ 0 ] == null ) { System . err . println ( "Provide the path to your .ser file" ) ; } else { repair ( args [ 0 ] , args . length > 1 && args [ 1 ] != null ? Integer . valueOf ( args [ 1 ] ) : null , args . length > 2 && args [ 2 ] != null ? Integer . valueOf ( args [ 2 ] ) : null ) ; } System . exit ( 0 ) ; }
Exposed to allow repair of flv files if . info and . ser files still exist .