FF_CODER_TYPE_RAW / RLE / DEFLATE extracted from a patch by Kamil Nowosad