- split mapping from field struct - mark field struct static - define list of classes to reduce more repetitive code
avcodec_close