added AV_codec.h to public headers