diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c index 7888ebb95..d9ac186e3 100644 --- a/src/decoder_api.c +++ b/src/decoder_api.c @@ -96,7 +96,7 @@ void decoder_seek_error(struct decoder * decoder) { assert(dc.command == DECODE_COMMAND_SEEK); - dc.seekError = 1; + dc.seekError = true; decoder_command_finished(decoder); } @@ -109,7 +109,7 @@ size_t decoder_read(struct decoder *decoder, assert(inStream != NULL); assert(buffer != NULL); - while (1) { + while (true) { /* XXX don't allow decoder==NULL */ if (decoder != NULL && (dc.command != DECODE_COMMAND_SEEK || |