Ignore:
Timestamp:
03/07/09 12:42:23 (15 years ago)
Author:
r2d
Message:

mpccut should now be more resilient to errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/libmpcdec/mpc_demux.c

    r425 r436  
    112112
    113113        return (mpc_uint32_t) -1;
    114 }
    115 
    116 /**
    117  * checks if a block key is valid
    118  * @param key the two caracters key to check
    119  * @return MPC_STATUS_INVALIDSV if the key is invalid, MPC_STATUS_OK else
    120  */
    121 static mpc_inline mpc_status mpc_check_key(char * key)
    122 {
    123         if (key[0] < 65 || key[0] > 90 || key[1] < 65 || key[1] > 90)
    124                 return MPC_STATUS_INVALIDSV;
    125         return MPC_STATUS_OK;
    126114}
    127115
Note: See TracChangeset for help on using the changeset viewer.