tag/ApeLoader: use CamelCase
This commit is contained in:
parent
1f5b9c6185
commit
de568c84c2
@ -34,7 +34,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
struct ape_footer {
|
struct ApeFooter {
|
||||||
unsigned char id[8];
|
unsigned char id[8];
|
||||||
uint32_t version;
|
uint32_t version;
|
||||||
uint32_t length;
|
uint32_t length;
|
||||||
@ -52,7 +52,7 @@ tag_ape_scan(InputStream &is, ApeTagCallback callback)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
/* determine if file has an apeV2 tag */
|
/* determine if file has an apeV2 tag */
|
||||||
struct ape_footer footer;
|
ApeFooter footer;
|
||||||
if (!is.Seek(is.GetSize() - sizeof(footer), IgnoreError()) ||
|
if (!is.Seek(is.GetSize() - sizeof(footer), IgnoreError()) ||
|
||||||
!is.ReadFull(&footer, sizeof(footer), IgnoreError()) ||
|
!is.ReadFull(&footer, sizeof(footer), IgnoreError()) ||
|
||||||
memcmp(footer.id, "APETAGEX", sizeof(footer.id)) != 0 ||
|
memcmp(footer.id, "APETAGEX", sizeof(footer.id)) != 0 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user