The descriptions here seem unnecessary.

You also don't need to name the struct, you can use

struct {
    int id;
    const char *name;
} compression_methods[] = {
    ....
};