Changeset 3ab1807f9e8f5ca13dd6850b4df3ab6cdc52e005
- Timestamp:
- 01/29/08 14:43:53
(7 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1201614233 +0000
- git-parent:
[52e95c97f521097c3ac0f77f2b1aa0d0e04d35f1]
- git-author:
- Rafaël Carré <funman@videolan.org> 1201614233 +0000
- Message:
id3tag: use size_t to represent sizes
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r99fab90 |
r3ab1807 |
|
| 246 | 246 | *****************************************************************************/ |
|---|
| 247 | 247 | #define APE_TAG_HEADERSIZE (32) |
|---|
| 248 | | static int GetAPEvXSize( const uint8_t *p_data, int i_data ) |
|---|
| | 248 | static size_t GetAPEvXSize( const uint8_t *p_data, int i_data ) |
|---|
| 249 | 249 | { |
|---|
| 250 | 250 | uint32_t flags; |
|---|
| 251 | | int i_body; |
|---|
| | 251 | size_t i_body; |
|---|
| 252 | 252 | |
|---|
| 253 | 253 | if( i_data < APE_TAG_HEADERSIZE || |
|---|
| … | … | |
| 376 | 376 | { |
|---|
| 377 | 377 | const int64_t i_pos = stream_Size( p_demux->s ); |
|---|
| 378 | | const int i_peek = 128+APE_TAG_HEADERSIZE; |
|---|
| | 378 | const size_t i_peek = 128+APE_TAG_HEADERSIZE; |
|---|
| 379 | 379 | const uint8_t *p_peek; |
|---|
| 380 | 380 | const uint8_t *p_peek_id3; |
|---|
| … | … | |
| 383 | 383 | int i_id3v2_size; |
|---|
| 384 | 384 | int i_apevx_size; |
|---|
| 385 | | int i_id3v1_size; |
|---|
| | 385 | size_t i_id3v1_size; |
|---|
| 386 | 386 | |
|---|
| 387 | 387 | if( i_pos < i_peek ) |
|---|