From: Josh Coalson Date: Wed, 31 Dec 2003 05:33:39 +0000 (+0000) Subject: minor comments X-Git-Tag: 1.2.0~948 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43d8f85fc5f26a94bc823178483f6dfbb44bab98;p=platform%2Fupstream%2Fflac.git minor comments --- diff --git a/src/libOggFLAC/ogg_encoder_aspect.c b/src/libOggFLAC/ogg_encoder_aspect.c index 6998e94..521cceb 100644 --- a/src/libOggFLAC/ogg_encoder_aspect.c +++ b/src/libOggFLAC/ogg_encoder_aspect.c @@ -94,8 +94,9 @@ FLAC__StreamEncoderWriteStatus OggFLAC__ogg_encoder_aspect_write_callback_wrappe if(ogg_stream_packetin(&aspect->stream_state, &packet) != 0) return FLAC__STREAM_ENCODER_WRITE_STATUS_FATAL_ERROR; + /*@@@@@@ can't figure out a way to pass a useful number for 'samples' to the write_callback, so we'll just pass 0 */ #ifdef FLAC__ONE_FLAC_FRAME_PER_OGG_PAGE - /* WATCHOUT: a FLAC frame may not be able to fit in a single Ogg page */ + /* WATCHOUT: a FLAC frame still may not be able to fit in a single Ogg page */ while(ogg_stream_flush(&aspect->stream_state, &aspect->page) != 0) { if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_data) != FLAC__STREAM_ENCODER_WRITE_STATUS_OK) return FLAC__STREAM_ENCODER_WRITE_STATUS_FATAL_ERROR;