mirror of https://github.com/xiph/flac
minor comments
This commit is contained in:
parent
888db35229
commit
cfd9701f1a
|
@ -799,7 +799,7 @@ FLAC__StreamEncoderWriteStatus write_callback_(const OggFLAC__SeekableStreamEnco
|
||||||
* 'current_frame' will drop back to 0.
|
* 'current_frame' will drop back to 0.
|
||||||
*/
|
*/
|
||||||
file_encoder->private_->frames_written = max(file_encoder->private_->frames_written, current_frame+1);
|
file_encoder->private_->frames_written = max(file_encoder->private_->frames_written, current_frame+1);
|
||||||
/*@@@@@@ We would like to add an '&& samples > 0' to the if
|
/*@@@ We would like to add an '&& samples > 0' to the if
|
||||||
* clause here but currently because of the nature of our Ogg
|
* clause here but currently because of the nature of our Ogg
|
||||||
* writing implementation, 'samples' is always 0 (see
|
* writing implementation, 'samples' is always 0 (see
|
||||||
* ogg_encoder_aspect.c). The downside is extra progress
|
* ogg_encoder_aspect.c). The downside is extra progress
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "FLAC/assert.h"
|
#include "FLAC/assert.h"
|
||||||
#include "protected/seekable_stream_decoder.h"
|
#include "protected/seekable_stream_decoder.h"
|
||||||
#include "protected/stream_decoder.h"
|
#include "protected/stream_decoder.h"
|
||||||
#include "../libFLAC/include/private/md5.h" /* @@@@@@ ugly hack, but how else to do? we need to reuse the md5 code but don't want to expose it */
|
#include "../libFLAC/include/private/md5.h" /* @@@ ugly hack, but how else to do? we need to reuse the md5 code but don't want to expose it */
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue