src/encode.c : Fix potential infinite loop in flac-toflac encoding.