X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fflac%2Fforeign_metadata.h;h=0afd66d4aba42d0cf8cc5fad9e9e6b1246e90df9;hb=2d6354ff2a618a79d40edbd4f208b4b07c5422f1;hp=d3824e29c63a39a973ac0c8aa6613f2f4e4d139c;hpb=6a1f59b58fbaa80b7057653edc35ab89fa6968f4;p=platform%2Fupstream%2Fflac.git diff --git a/src/flac/foreign_metadata.h b/src/flac/foreign_metadata.h index d3824e2..0afd66d 100644 --- a/src/flac/foreign_metadata.h +++ b/src/flac/foreign_metadata.h @@ -25,6 +25,7 @@ #include "FLAC/metadata.h" #include "utils.h" +#include "share/compat.h" /* WATCHOUT: these enums are used to index internal arrays */ typedef enum { @@ -36,7 +37,7 @@ typedef enum { typedef struct { /* for encoding, this will be the offset in the WAVE/AIFF file of the chunk */ /* for decoding, this will be the offset in the FLAC file of the chunk data inside the APPLICATION block */ - off_t offset; + FLAC__off_t offset; /* size is the actual size in bytes of the chunk to be stored/recreated. */ /* It includes the 8 bytes of chunk type and size, and any padding byte for alignment. */ /* For 'data'/'SSND' chunks, the size does not include the actual sound or padding bytes */ @@ -67,6 +68,6 @@ FLAC__bool flac__foreign_metadata_read_from_wave64(foreign_metadata_t *fm, const FLAC__bool flac__foreign_metadata_write_to_flac(foreign_metadata_t *fm, const char *infilename, const char *outfilename, const char **error); FLAC__bool flac__foreign_metadata_read_from_flac(foreign_metadata_t *fm, const char *filename, const char **error); -FLAC__bool flac__foreign_metadata_write_to_iff(foreign_metadata_t *fm, const char *infilename, const char *outfilename, off_t offset1, off_t offset2, off_t offset3, const char **error); +FLAC__bool flac__foreign_metadata_write_to_iff(foreign_metadata_t *fm, const char *infilename, const char *outfilename, FLAC__off_t offset1, FLAC__off_t offset2, FLAC__off_t offset3, const char **error); #endif