Mercurial > audlegacy-plugins
diff src/flacng/seekable_stream_callbacks.c @ 1246:626f78ff2439
- Add FLAC 1.1.2 compatibility
author | sun@fc5-buildsys |
---|---|
date | Thu, 12 Jul 2007 19:30:31 +0200 |
parents | 875baf383f0c |
children | 690659633ec5 |
line wrap: on
line diff
--- a/src/flacng/seekable_stream_callbacks.c Thu Jul 12 17:51:36 2007 +0300 +++ b/src/flacng/seekable_stream_callbacks.c Thu Jul 12 19:30:31 2007 +0200 @@ -47,7 +47,7 @@ if (0 <= info->read_max) { to_read = MIN(*bytes, info->read_max); - _DEBUG("Reading restricted to %d bytes", info->read_max); + _DEBUG("Reading restricted to %ld bytes", info->read_max); } else { to_read = *bytes; } @@ -119,7 +119,7 @@ return FLAC__STREAM_DECODER_TELL_STATUS_ERROR; } - _DEBUG("Current position: %d", position); + _DEBUG("Current position: %ld", position); *absolute_byte_offset = position; @@ -166,7 +166,7 @@ _LEAVE FLAC__STREAM_DECODER_LENGTH_STATUS_UNSUPPORTED; } - _DEBUG("Stream length is %d bytes", size); + _DEBUG("Stream length is %ld bytes", size); *stream_length = size; _LEAVE FLAC__STREAM_DECODER_LENGTH_STATUS_OK;