X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=flacdec_filter.c;h=4220b5d61db29b866063f1e6d1769589e1e67f23;hp=621d50d2f97087404f15c1ae74d423d5ad4bae35;hb=8633a2877332e7949b8e2d55d5ebc5a47bda7794;hpb=464648bb2c7d75586dfee44917ca731e491ae01e diff --git a/flacdec_filter.c b/flacdec_filter.c index 621d50d2..4220b5d6 100644 --- a/flacdec_filter.c +++ b/flacdec_filter.c @@ -222,6 +222,7 @@ static int flacdec_post_select(__a_unused struct sched *s, struct task *t) struct private_flacdec_data *pfd = fn->private_data; struct btr_node *btrn = fn->btrn; int ret; + FLAC__StreamDecoderState state; if (output_queue_full(btrn)) return 0; @@ -240,7 +241,6 @@ static int flacdec_post_select(__a_unused struct sched *s, struct task *t) goto out; } pfd->have_more = false; - FLAC__StreamDecoderState state; FLAC__stream_decoder_process_single(pfd->decoder); state = FLAC__stream_decoder_get_state(pfd->decoder); ret = -E_FLACDEC_EOF;