Changeset 424
- Timestamp:
- 02/12/09 22:54:56 (16 years ago)
- Location:
- libmpc/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/libmpcdec/mpc_bits_reader.c
r219 r424 1 1 /* 2 Copyright (c) 2007 , The Musepack Development Team2 Copyright (c) 2007-2009, The Musepack Development Team 3 3 All rights reserved. 4 4 … … 170 170 size += mpc_bits_get_size(r, &(p_block->size)); 171 171 172 p_block->size -= size; 172 if (p_block->size >= size) // check if the block size doesn't conflict with the header size 173 p_block->size -= size; 173 174 174 175 return size; -
libmpc/trunk/libmpcdec/mpc_demux.c
r423 r424 1 1 /* 2 Copyright (c) 2005 , The Musepack Development Team2 Copyright (c) 2005-2009, The Musepack Development Team 3 3 All rights reserved. 4 4 … … 119 119 * @return MPC_STATUS_INVALIDSV if the key is invalid, MPC_STATUS_OK else 120 120 */ 121 static inline mpc_status mpc_check_key(char * key)121 static mpc_inline mpc_status mpc_check_key(char * key) 122 122 { 123 123 if (key[0] < 65 || key[0] > 90 || key[1] < 65 || key[1] > 90) -
libmpc/trunk/mpcgain/mpcgain.c
r413 r424 1 1 /* 2 Copyright (c) 2006 , The Musepack Development Team2 Copyright (c) 2006-2009, The Musepack Development Team 3 3 All rights reserved. 4 4 … … 52 52 #define MAX_HEAD_SIZE 20 // maximum size of the packet header before chapter gain (2 + 9 + 9) 53 53 54 const char About [] = "mpcgain - Musepack (MPC) ReplayGain calculator v" MPCGAIN_VERSION " (C) 2006-200 8MDT\nBuilt " __DATE__ " " __TIME__ "\n";54 const char About [] = "mpcgain - Musepack (MPC) ReplayGain calculator v" MPCGAIN_VERSION " (C) 2006-2009 MDT\nBuilt " __DATE__ " " __TIME__ "\n"; 55 55 56 56
Note: See TracChangeset
for help on using the changeset viewer.