~ubuntu-branches/ubuntu/feisty/flac/feisty-security

« back to all changes in this revision

Viewing changes to src/share/grabbag/seektable.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
/* grabbag - Convenience lib for various routines common to several tools
2
 
 * Copyright (C) 2002,2003,2004  Josh Coalson
 
2
 * Copyright (C) 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
61
61
                                                double sec = atof(pt);
62
62
                                                if(sec > 0.0) {
63
63
#if defined _MSC_VER || defined __MINGW32__
64
 
                                                        /* with VC++ you have to spoon feed it the casting */
 
64
                                                        /* with MSVC you have to spoon feed it the casting */
65
65
                                                        unsigned n = (unsigned)((double)(FLAC__int64)total_samples_to_encode / (sec * (double)sample_rate));
66
66
#else
67
67
                                                        unsigned n = (unsigned)((double)total_samples_to_encode / (sec * (double)sample_rate));