minor comments

This commit is contained in:
Josh Coalson
2006-09-16 00:07:20 +00:00
parent 68acb04a4d
commit c0da196166
7 changed files with 7 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ struct OggFLAC__StreamDecoderPrivate;
* for a detailed description.
*/
typedef struct {
FLAC__StreamDecoder super_; /* parentclass@@@@@@ */
FLAC__StreamDecoder super_;
struct OggFLAC__StreamDecoderProtected *protected_; /* avoid the C++ keyword 'protected' */
struct OggFLAC__StreamDecoderPrivate *private_; /* avoid the C++ keyword 'private' */
} OggFLAC__StreamDecoder;

View File

@@ -164,7 +164,7 @@ struct OggFLAC__StreamEncoderPrivate;
* for a detailed description.
*/
typedef struct {
FLAC__StreamEncoder super_; /* parentclass@@@@@@ */
FLAC__StreamEncoder super_;
struct OggFLAC__StreamEncoderProtected *protected_; /* avoid the C++ keyword 'protected' */
struct OggFLAC__StreamEncoderPrivate *private_; /* avoid the C++ keyword 'private' */
} OggFLAC__StreamEncoder;

View File

@@ -45,7 +45,7 @@
* FLAC__lpc_window_data()
* --------------------------------------------------------------------
* Applies the given window to the data.
* @@@@@@ asm optimize
* @@@ asm optimize
*
* IN in[0,data_len-1]
* IN window[0,data_len-1]

View File

@@ -2835,6 +2835,7 @@ FLAC__bool transport_tempfile_(const char *filename, FILE **tempfile, char **tem
*tempfile = 0;
#if defined _MSC_VER || defined __MINGW32__ || defined __EMX__
/* on some flavors of windows, rename() will fail if the destination already exists */
if(unlink(filename) < 0) {
cleanup_tempfile_(tempfile, tempfilename);
*status = FLAC__METADATA_SIMPLE_ITERATOR_STATUS_UNLINK_ERROR;

View File

@@ -224,6 +224,7 @@ bool transport_tempfile_(const char *filename, FILE **tempfile, char **tempfilen
}
#if defined _MSC_VER || defined __MINGW32__ || defined __EMX__
/* on some flavors of windows, rename() will fail if the destination already exists */
if(unlink(filename) < 0) {
cleanup_tempfile_(tempfile, tempfilename);
return false;

View File

@@ -211,6 +211,7 @@ FLAC__bool transport_tempfile_(const char *filename, FILE **tempfile, char **tem
}
#if defined _MSC_VER || defined __MINGW32__ || defined __EMX__
/* on some flavors of windows, rename() will fail if the destination already exists */
if(unlink(filename) < 0) {
cleanup_tempfile_(tempfile, tempfilename);
return false;

View File

@@ -617,7 +617,7 @@ rm noise.flac z.wav
# test --input-size
############################################################################
#@@@@@@ cat will not work on old cygwin, need to fix
#@@@ cat will not work on old cygwin, need to fix
if [ $is_win = no ] ; then
echo -n "testing --input-size=50 --skip=10... "
cat 50c.raw | run_flac $raw_eopt --input-size=50 --skip=10 -o z50c.skip10.flac - || die "ERROR generating FLAC file"