Skip to content

Remove reliance on stdint #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions mpck/metatag.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "file.h"
#include "metatag.h"
#include "synchsafe.h"
#include <stdint.h>

#ifdef HAVE_STRING_H
#include <string.h>
Expand Down Expand Up @@ -69,17 +68,17 @@ skip_id3v2_tag(file_info * file)
return 0;
}

/* Skips an id3v2 tag. The first three characters have already been read. */
/* Skips an APE tag. The first eight characters have already been read. */
int
skip_ape_tag(file_info * file)
{
char buf[25];
size_t res;

uint32_t version; /* version of APE tag */
uint32_t flags; /* flags */
uint32_t items; /* number of items in tag */
uint32_t size; /* size of tag without header (but including footer) */
unsigned long version; /* version of APE tag */
unsigned long flags; /* flags */
unsigned long items; /* number of items in tag */
unsigned long size; /* size of tag without header (but including footer) */

res=cfread(buf, 24, file->fp); /* read rest of header */
if (res == 0) return FALSE;
Expand Down