Fix the ccl decoder for the case that the output buffer is fullfilled.