/* VERSION comes from configure */
#define FLAC__VERSION_STRING VERSION
-extern const unsigned FLAC__MAJOR_VERSION;
-extern const unsigned FLAC__MINOR_VERSION;
extern const byte FLAC__STREAM_SYNC_STRING[4]; /* = "fLaC" */;
extern const unsigned FLAC__STREAM_SYNC; /* = 0x664C6143 */;
if(verbose) {
printf("\n");
- printf("flac v%u.%u, Copyright (C) 2000,2001 Josh Coalson\n", FLAC__MAJOR_VERSION, FLAC__MINOR_VERSION);
+ printf("flac %s, Copyright (C) 2000,2001 Josh Coalson\n", FLAC__VERSION_STRING);
printf("flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are\n");
printf("welcome to redistribute it under certain conditions. Type `flac' for details.\n\n");
}
printf("==============================================================================\n");
- printf("flac - Command-line FLAC encoder/decoder version %u.%u\n", FLAC__MAJOR_VERSION, FLAC__MINOR_VERSION);
+ printf("flac - Command-line FLAC encoder/decoder version %s\n", FLAC__VERSION_STRING);
printf("Copyright (C) 2000,2001 Josh Coalson\n");
printf("\n");
printf("This program is free software; you can redistribute it and/or\n");
#include <stdio.h>
#include "FLAC/format.h"
-const unsigned FLAC__MAJOR_VERSION = 0;
-const unsigned FLAC__MINOR_VERSION = 5;
-
const byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
const unsigned FLAC__STREAM_SYNC = 0x664C6143;
const unsigned FLAC__STREAM_SYNC_LEN = 32; /* bits */;
InputPlugin *get_iplugin_info()
{
- flac_ip.description = g_strdup_printf("FLAC Player v%u.%u", FLAC__MAJOR_VERSION, FLAC__MINOR_VERSION);
+ flac_ip.description = g_strdup_printf("FLAC Player v%s", FLAC__VERSION_STRING);
return &flac_ip;
}