~ubuntu-branches/ubuntu/saucy/flac/saucy

« back to all changes in this revision

Viewing changes to src/flac/decode.c

  • Committer: Bazaar Package Importer
  • Author(s): Tollef Fog Heen
  • Date: 2005-11-10 12:55:33 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20051110125533-2fmlml8wnb06r5vg
Tags: 1.1.2-3ubuntu1
* Merge with Debian
  - We did the C++ transition earlier than Debian, so add c2 suffix to
    liboggflac++ and libflac++

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* flac - Command-line FLAC encoder/decoder
2
 
 * Copyright (C) 2000,2001,2002,2003,2004  Josh Coalson
 
2
 * Copyright (C) 2000,2001,2002,2003,2004,2005  Josh Coalson
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU General Public License
1155
1155
                flac__utils_printf(stderr, 1,
1156
1156
                        "\n"
1157
1157
                        "The FLAC stream may have been created by a more advanced encoder.  Try\n"
1158
 
                        "  metaflac --show-vc-vendor %s\n"
 
1158
                        "  metaflac --show-vendor-tag %s\n"
1159
1159
                        "If the version number is greater than %s, this decoder is probably\n"
1160
 
                        "not able to decode the file.  If the version number is not, you may\n"
1161
 
                        "have found a bug.  In this case please submit a bug report to\n"
 
1160
                        "not able to decode the file.  If the version number is not, the file\n"
 
1161
                        "may be corrupted, or you may have found a bug.  In this case please\n"
 
1162
                        "submit a bug report to\n"
1162
1163
                        "    http://sourceforge.net/bugs/?func=addbug&group_id=13478\n"
1163
1164
                        "Make sure to include an email contact in the comment and/or use the\n"
1164
1165
                        "\"Monitor\" feature to monitor the bug status.\n",
1183
1184
{
1184
1185
        if(flac__utils_verbosity_ >= 2) {
1185
1186
#if defined _MSC_VER || defined __MINGW32__
1186
 
                /* with VC++ you have to spoon feed it the casting */
 
1187
                /* with MSVC you have to spoon feed it the casting */
1187
1188
                const double progress = (double)(FLAC__int64)decoder_session->samples_processed / (double)(FLAC__int64)decoder_session->total_samples * 100.0;
1188
1189
#else
1189
1190
                const double progress = (double)decoder_session->samples_processed / (double)decoder_session->total_samples * 100.0;