X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aacdec_filter.c;fp=aacdec_filter.c;h=c886f9d82b177012761b757c0f73c55db44e001e;hp=5c1ea6d395347810ab9216707fd36aaf1b78a365;hb=792936cec17542777826e5fce4cfe520a984bba2;hpb=3013ef1f9e2dcd1426041837daf86f3d401acd94 diff --git a/aacdec_filter.c b/aacdec_filter.c index 5c1ea6d3..c886f9d8 100644 --- a/aacdec_filter.c +++ b/aacdec_filter.c @@ -35,7 +35,7 @@ struct private_aacdec_data { /** the return value of aac_open */ NeAACDecHandle handle; /** whether this instance of the aac decoder is already initialized */ - int initialized; + bool initialized; /** number of times the decoder returned an error */ unsigned error_count; /** number of bytes already consumed from the imput stream */ @@ -124,7 +124,7 @@ next_buffer: padd->channels = channels; PARA_INFO_LOG("rate: %u, channels: %u\n", padd->sample_rate, padd->channels); - padd->initialized = 1; + padd->initialized = true; } if (consumed >= len) goto success;